eraser2220
New Member
Hi @ all, i´ve a question.
I have the following setup, but cannot ping from ETHA to ETHB.
If i check Namespace 1, i have the following configuration:
If i check Namespace 2, i have the following configuration:
If i check the route of Namespace 1, i get following:
If i check the route of Namespace 2, i get following:
Does anyone know, why i can´t ping now from ETHA to ETHB and what the best practice would be to solve the problem?
Thanks for the help !
I have the following setup, but cannot ping from ETHA to ETHB.
If i check Namespace 1, i have the following configuration:
Code:
root@default: ip netns exec ns1 ip a
1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: tunl0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default
link/ipip 0.0.0.0 brd 0.0.0.0
3: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default
link/sit 0.0.0.0 brd 0.0.0.0
4: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br1 state UP group default qlen 1000
inet 10.128.0.1/24 scope global eth1
valid_lft forever preferred_lft forever
inet6 fe80::2c0:3aff:fee4:9a/64 scope link
valid_lft forever preferred_lft forever
5: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br1 state UP group default qlen 1000
inet 10.128.0.2/24 scope global eth2
valid_lft forever preferred_lft forever
inet6 fe80::2c0:3aff:fee5:9a/64 scope link
valid_lft forever preferred_lft forever
6: br1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
inet6 fe80::2c0:3aff:fee4:9a/64 scope link
valid_lft forever preferred_lft forever
If i check Namespace 2, i have the following configuration:
Code:
root@default:~/EXAMPLES# ip netns exec ns2 ip a
1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: tunl0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default
link/ipip 0.0.0.0 brd 0.0.0.0
3: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default
link/sit 0.0.0.0 brd 0.0.0.0
4: eth3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br2 state UP group default qlen 1000
inet 10.128.0.3/24 scope global eth3
valid_lft forever preferred_lft forever
inet6 fe80::2c0:3aff:fee6:9a/64 scope link
valid_lft forever preferred_lft forever
5: eth4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br2 state UP group default qlen 1000
inet 10.128.0.4/24 scope global eth4
valid_lft forever preferred_lft forever
inet6 fe80::2c0:3aff:fee7:9a/64 scope link
valid_lft forever preferred_lft forever
6: br2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
inet6 fe80::2c0:3aff:fee6:9a/64 scope link
valid_lft forever preferred_lft forever
If i check the route of Namespace 1, i get following:
Code:
root@default: ip netns exec ns2 route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.128.0.0 * 255.255.255.0 U 0 0 0 eth3
10.128.0.0 * 255.255.255.0 U 0 0 0 eth4
Code:
root@default: ip netns exec ns1 ip route get 10.128.0.100
10.128.0.100 dev eth1 src 10.128.0.1
cache
Code:
root@default: ip netns exec ns1 ip route get 10.128.0.200
10.128.0.200 dev eth1 src 10.128.0.1
cache
If i check the route of Namespace 2, i get following:
Code:
root@default: ip netns exec ns2 route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.128.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth3
10.128.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth4
Code:
root@default: ip netns exec ns2 ip route get 10.128.0.100
10.128.0.100 dev eth3 src 10.128.0.3
cache
Code:
root@default: ip netns exec ns2 ip route get 10.128.0.200
10.128.0.200 dev eth3 src 10.128.0.3
cache
Does anyone know, why i can´t ping now from ETHA to ETHB and what the best practice would be to solve the problem?
Thanks for the help !