Stack Exchange
log in
users (25)
rooms (23)
faq
VaTo
general
recent
conversations
Discussion between VaTo and Barmar
Imported from a comment discussion on
unix.stackexchange.com/q...
VaTo
Jun 8, 2017 21:58
Barmar
VaTo
Jun 8, 2017 21:58
ok thank you Bamar
VaTo
Jun 8, 2017 21:54
but I think I understand what is going on
VaTo
Jun 8, 2017 21:54
I can't even change the ip of the VMs
VaTo
Jun 8, 2017 21:53
it's pretty limited
VaTo
Jun 8, 2017 21:53
damn, I don't think I can do that
VaTo
Jun 8, 2017 21:53
so two interfaces for routerc?
VaTo
Jun 8, 2017 21:50
as you can see in the post under Server A details
VaTo
Jun 8, 2017 21:49
correct
VaTo
Jun 8, 2017 21:49
the only docker container I have is the ip 172.17.x.x
VaTo
Jun 8, 2017 21:49
Server A and B are VMs
VaTo
Jun 8, 2017 21:49
well, if that is the problem, do you have any other way that I can test if my setup is working?
VaTo
Jun 8, 2017 21:48
sorry, delete
VaTo
Jun 8, 2017 21:48
how can I add a route?
VaTo
Jun 8, 2017 21:47
that's ok, I would like to just test it and delete it
VaTo
Jun 8, 2017 21:47
so this would do it?
VaTo
Jun 8, 2017 21:47
sudo ip route add 172.0.0.0/8 via 172.31.124.249 dev eth0
VaTo
Jun 8, 2017 21:46
I would like to cover 172.x.x.x
VaTo
Jun 8, 2017 21:42
oh ok that's not the issue then?
VaTo
Jun 8, 2017 21:42
it seems like with /24 I'm only covering 172. 17.x.x
VaTo
Jun 8, 2017 21:41
sorry, I really don't know networks that well
VaTo
Jun 8, 2017 21:41
is that /40?
VaTo
Jun 8, 2017 21:41
how can I cover 172.x.x.x?
VaTo
Jun 8, 2017 21:41
I think then the problem is in the /24
VaTo
Jun 8, 2017 21:40
and that's what I thought would be a good exercise
VaTo
Jun 8, 2017 21:40
I'm studying to create static routes
VaTo
Jun 8, 2017 21:39
I don't really care about that
VaTo
Jun 8, 2017 21:39
well, I took docker as an example
VaTo
Jun 8, 2017 21:39
and I'm trying to see that IP from the server B, but Server A and server B are on the same network
VaTo
Jun 8, 2017 21:38
it's a local ip to the server A
VaTo
Jun 8, 2017 21:38
yes
VaTo
Jun 8, 2017 21:36
so same ip where I'm executing this command
VaTo
Jun 8, 2017 21:36
the router? that would be the same ip as Server B
VaTo
Jun 8, 2017 21:34
ok let me check
VaTo
Jun 8, 2017 21:34
so now I'm thinking in how I can add the route in server A to Server B, I just thought I had to do it in only one way.
VaTo
Jun 8, 2017 21:33
and thank you for your help by the way
VaTo
Jun 8, 2017 21:33
I hope you don't mind moving this discussion here
VaTo
Jun 8, 2017 21:33
Hello
VaTo
Jun 8, 2017 21:33
You mean the route I already created in server B? Yes it's already there.
VaTo
Jun 8, 2017 21:33
I did this on my server A>
sudo iptables -A INPUT -p icmp -i eth0 -j ACCEPT
and still is not getting any response back when pinging.
VaTo
Jun 8, 2017 21:33
Are you saying that I need to add a new route from A to B or open ports in the firewall?
VaTo
Jun 8, 2017 21:33
I didn't add any route on server A. Could you please explain more on what you are saying? Thank you!
/dev/chat
General discussion for
unix.stackexchange.com
. If you have a q...
1
Victor
Mar 3, 2015 19:56
How can I see what it will be copied with cp before I copy the files