Add hops on a single machine and forward some trafic to another

Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I want to change this script simulating-network-hops-on-a-single-linux-box
So it will forward only some traffic to another machine.
Assuming that my address is 192.168.0.3 and I want to add hops and forward it to 192.168.0.4. How can I do it?
I tried to edit the last line:
route add -net 172.16.101.0/24 gw 172.16.100.2
but lost connectivity :(
ubuntu networking ip route
add a comment |Â
up vote
1
down vote
favorite
I want to change this script simulating-network-hops-on-a-single-linux-box
So it will forward only some traffic to another machine.
Assuming that my address is 192.168.0.3 and I want to add hops and forward it to 192.168.0.4. How can I do it?
I tried to edit the last line:
route add -net 172.16.101.0/24 gw 172.16.100.2
but lost connectivity :(
ubuntu networking ip route
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I want to change this script simulating-network-hops-on-a-single-linux-box
So it will forward only some traffic to another machine.
Assuming that my address is 192.168.0.3 and I want to add hops and forward it to 192.168.0.4. How can I do it?
I tried to edit the last line:
route add -net 172.16.101.0/24 gw 172.16.100.2
but lost connectivity :(
ubuntu networking ip route
I want to change this script simulating-network-hops-on-a-single-linux-box
So it will forward only some traffic to another machine.
Assuming that my address is 192.168.0.3 and I want to add hops and forward it to 192.168.0.4. How can I do it?
I tried to edit the last line:
route add -net 172.16.101.0/24 gw 172.16.100.2
but lost connectivity :(
ubuntu networking ip route
asked Nov 20 '17 at 14:14
nmnir
1132
1132
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f405782%2fadd-hops-on-a-single-machine-and-forward-some-trafic-to-another%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password