IPv6 routing question - corrected
* sorry for the other schema, it came out a mess. I hope this one is understandable.
hi:
I have this 2 boxes set up like this:
2020::2/128
2020::254/128 3030::254/128
192.168.0.2/24 192.168.0.254/24 192.168.30.254/24
+-------+ eth0 eth3
+-------+
| |============ | | eth1
| A
| | B | ----
|
| | |+-------+ +-------+
A
# ip r l 192.168.30.254 dev eth0 scope link 192.168.0.0/24 dev eth0 scope link 169.254.0.0/16 dev lo scope link 127.0.0.0/8 dev lo scope link
# ip -6 r l 2020::254 dev eth0 metric 1024 mtu 1500 advmss 1440 3030::254 dev eth0 metric 1024 mtu 1500 advmss 1440 (...plus link local and multicast routes)
B
# ip r l 127.0.0.1 dev lo scope link 192.168.0.0/24 dev eth3 proto kernel scope link src 192.168.0.254 192.168.30.0/24 dev eth1 proto kernel scope link src 192.168.30.254
# ip -6 r l 2020::2 dev eth3 metric 1024 mtu 1500 advmss 1440 metric10 64 (...plus link local and multicast routes)
# cat /proc/sys/net/ipv4/ip_forward 1 #cat /proc/sys/net/ipv6/conf/all/forwarding 1
The problem is that i can ping 192.168.30.254 from A, but i can't ping 3030::254 from A, anyone has a clue why this happens? Is there any feature i need to turn on or anything misconfigured? Why does it work for IPv4 but not for IPv6?
A -> B
# ping 192.168.30.254 PING 192.168.30.254 (192.168.30.254) 56(84) bytes of data. 64 bytes from 192.168.30.254: icmp_seq=0 ttld time=0.175 ms 64 bytes from 192.168.30.254: icmp_seq=1 ttld time=0.122 ms
#ping6 3030::254
PING 3030::254(3030::254) 56 data bytes
From ::1 icmp_seq=0 Destination unreachable: Address unreachable From ::1 icmp_seq=1 Destination unreachable: Address unreachable
Regards
Filipe Abrantes
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
[LARTC] IPv6 routing question - corrected - again
* sorry for the 2 previous schemas, they came out a mess. I hope this one is understandable.
hi:
I have this 2 boxes set up like this:
2020::2/128 2020::254/128 3030::254/128
192.168.0.2/24 192.168.0.254/24 192.168.30.254/24
+-------+ eth0 eth3 +-------+ | |========== | | eth1 | A | | B | ---- | | | | +-------+ +-------+
A
# ip r l 192.168.30.254 dev eth0 scope link 192.168.0.0/24 dev eth0 scope link 169.254.0.0/16 dev lo scope link 127.0.0.0/8 dev lo scope link
# ip -6 r l 2020::254 dev eth0 metric 1024 mtu 1500 advmss 1440 3030::254 dev eth0 metric 1024 mtu 1500 advmss 1440 (...plus link local and multicast routes)
B
# ip r l 127.0.0.1 dev lo scope link 192.168.0.0/24 dev eth3 proto kernel scope link src 192.168.0.254 192.168.30.0/24 dev eth1 proto kernel scope link src 192.168.30.254
# ip -6 r l 2020::2 dev eth3 metric 1024 mtu 1500 advmss 1440 metric10 64 (...plus link local and multicast routes)
# cat /proc/sys/net/ipv4/ip_forward 1 #cat /proc/sys/net/ipv6/conf/all/forwarding 1
The problem is that i can ping 192.168.30.254 from A, but i can't ping 3030::254 from A, anyone has a clue why this happens? Is there any feature i need to turn on or anything misconfigured? Why does it work for IPv4 but not for IPv6?
A -> B
# ping 192.168.30.254 PING 192.168.30.254 (192.168.30.254) 56(84) bytes of data. 64 bytes from 192.168.30.254: icmp_seq=0 ttld time=0.175 ms 64 bytes from 192.168.30.254: icmp_seq=1 ttld time=0.122 ms
#ping6 3030::254
PING 3030::254(3030::254) 56 data bytes
From ::1 icmp_seq=0 Destination unreachable: Address unreachable From ::1 icmp_seq=1 Destination unreachable: Address unreachable
Regards
Filipe Abrantes
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
what do you get when you try
ip r g 3030::254
A
Quoted 86 lines · filipe abrantes
* sorry for the other schema, it came out a mess. I hope this one is understandable.
hi:
I have this 2 boxes set up like this:
2020::2/128 2020::254/128 3030::254/128 192.168.0.2/24 192.168.0.254/24192.168.30.254/24
+-------+ eth0 eth3 +-------+ | |======================= | | eth1 | A | | B | ---- | | | |+-------+ +-------+
A
# ip r l 192.168.30.254 dev eth0 scope link 192.168.0.0/24 dev eth0 scope link 169.254.0.0/16 dev lo scope link 127.0.0.0/8 dev lo scope link# ip -6 r l 2020::254 dev eth0 metric 1024 mtu 1500 advmss 1440 3030::254 dev eth0 metric 1024 mtu 1500 advmss 1440 (...plus link local and multicast routes)B
# ip r l 127.0.0.1 dev lo scope link 192.168.0.0/24 dev eth3 proto kernel scope link src 192.168.0.254 192.168.30.0/24 dev eth1 proto kernel scope link src 192.168.30.254# ip -6 r l 2020::2 dev eth3 metric 1024 mtu 1500 advmss 1440 metric10 64 (...plus link local and multicast routes)# cat /proc/sys/net/ipv4/ip_forward 1 #cat /proc/sys/net/ipv6/conf/all/forwarding 1The problem is that i can ping 192.168.30.254 from A, but i can't ping 3030::254 from A, anyone has a clue why this happens? Is there any feature i need to turn on or anything misconfigured? Why does it work for IPv4 but not for IPv6?
A -> B
# ping 192.168.30.254 PING 192.168.30.254 (192.168.30.254) 56(84) bytes of data. 64 bytes from 192.168.30.254: icmp_seq=0 ttl=64 time=0.175 ms 64 bytes from 192.168.30.254: icmp_seq=1 ttl=64 time=0.122 ms#ping6 3030::254
PING 3030::254(3030::254) 56 data bytes
From ::1 icmp_seq=0 Destination unreachable: Address unreachable From ::1 icmp_seq=1 Destination unreachable: Address unreachableRegards
Filipe Abrantes
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
hi and thanks for replying,
#ip r g 3030::254
3030::254 via 3030::254 dev eth0 src 2020::2 metric 0
cache mtu 1500 advmss 1440
Quoted 96 lines · Alexander Samad
what do you get when you try
ip r g 3030::254
A
Quoted 83 lines · filipe abrantes
* sorry for the other schema, it came out a mess. I hope this one is understandable.
hi:
I have this 2 boxes set up like this:
2020::2/128 2020::254/128 3030::254/128 192.168.0.2/24 192.168.0.254/24192.168.30.254/24
+-------+ eth0 eth3 +-------+ | |======================= | | eth1 | A | | B | ---- | | | |+-------+ +-------+
A
# ip r l 192.168.30.254 dev eth0 scope link 192.168.0.0/24 dev eth0 scope link 169.254.0.0/16 dev lo scope link 127.0.0.0/8 dev lo scope link# ip -6 r l 2020::254 dev eth0 metric 1024 mtu 1500 advmss 1440 3030::254 dev eth0 metric 1024 mtu 1500 advmss 1440 (...plus link local and multicast routes)B
# ip r l 127.0.0.1 dev lo scope link 192.168.0.0/24 dev eth3 proto kernel scope link src 192.168.0.254 192.168.30.0/24 dev eth1 proto kernel scope link src 192.168.30.254# ip -6 r l 2020::2 dev eth3 metric 1024 mtu 1500 advmss 1440 metric10 64 (...plus link local and multicast routes)# cat /proc/sys/net/ipv4/ip_forward 1 #cat /proc/sys/net/ipv6/conf/all/forwarding 1The problem is that i can ping 192.168.30.254 from A, but i can't ping 3030::254 from A, anyone has a clue why this happens? Is there any feature i need to turn on or anything misconfigured? Why does it work for IPv4 but not for IPv6?
A -> B
# ping 192.168.30.254 PING 192.168.30.254 (192.168.30.254) 56(84) bytes of data. 64 bytes from 192.168.30.254: icmp_seq=0 ttl=64 time=0.175 ms 64 bytes from 192.168.30.254: icmp_seq=1 ttl=64 time=0.122 ms#ping6 3030::254
PING 3030::254(3030::254) 56 data bytes
From ::1 icmp_seq=0 Destination unreachable: Address unreachable From ::1 icmp_seq=1 Destination unreachable: Address unreachableRegards
Filipe Abrantes
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hi
Sorry having a bit of a problem reading your diagram but is the destination on the wire or is routed via box B
have you tried a tcpdump on B to see what it sees ?
A
Quoted 124 lines · filipe abrantes
hi and thanks for replying,
#ip r g 3030::254
3030::254 via 3030::254 dev eth0 src 2020::2 metric 0cache mtu 1500 advmss 1440Alexander Samad wrote:
what do you get when you try ip r g 3030::254 A On Mon, Sep 20, 2004 at 02:57:17AM +0100, filipe abrantes wrote: * sorry for the other schema, it came out a mess. I hope this one is understandable. hi: I have this 2 boxes set up like this: 2020::2/128 2020::254/128 3030::254/128 192.168.0.2/24 192.168.0.254/24 192.168.30.254/24 +-------+ eth0 eth3 +-------+ | |======================= | | eth1 | A | | B | ---- | | | | +------- + +------ -+ A # ip r l 192.168.30.254 dev eth0 scope link 192.168.0.0/24 dev eth0 scope link 169.254.0.0/16 dev lo scope link 127.0.0.0/8 dev lo scope link # ip -6 r l 2020::254 dev eth0 metric 1024 mtu 1500 advmss 1440 3030::254 dev eth0 metric 1024 mtu 1500 advmss 1440 (...plus link local and multicast routes) B # ip r l 127.0.0.1 dev lo scope link 192.168.0.0/24 dev eth3 proto kernel scope link src 192.168.0.254 192.168.30.0/24 dev eth1 proto kernel scope link src 192.168.30.254 # ip -6 r l 2020::2 dev eth3 metric 1024 mtu 1500 advmss 1440 metric10 64 (...plus link local and multicast routes) # cat /proc/sys/net/ipv4/ip_forward 1 #cat /proc/sys/net/ipv6/conf/all/forwarding 1 The problem is that i can ping 192.168.30.254 from A, but i can't ping 3030::254 from A, anyone has a clue why this happens? Is there any feature i need to turn on or anything misconfigured? Why does it work for IPv4 but not for IPv6? A -> B # ping 192.168.30.254 PING 192.168.30.254 (192.168.30.254) 56(84) bytes of data. 64 bytes from 192.168.30.254: icmp_seq=0 ttl=64 time=0.175 ms 64 bytes from 192.168.30.254: icmp_seq=1 ttl=64 time=0.122 ms #ping6 3030::254 PING 3030::254(3030::254) 56 data bytes From ::1 icmp_seq=0 Destination unreachable: Address unreachable From ::1 icmp_seq=1 Destination unreachable: Address unreachable Regards Filipe Abrantes _______________________________________________ LARTC mailing list / _L_A_R_T_C_@_m_a_i_l_m_a_n_._d_s_9_a_._n_l _h_t_t_p_:_/_/_m_a_i_l_m_a_n_._d_s_9_a_._n_l_/_m_a_i_l_m_a_n_/_l_i_s_t_i_n_f_o_/_l_a_r_t_c HOWTO: _h_t_t_p_:_/ _/_l_a_r_t_c_._o_r_g_/ _______________________________________________ LARTC mailing list / _L_A_R_T_C_@_m_a_i_l_m_a_n_._d_s_9_a_._n_l _h_t_t_p_:_/_/_m_a_i_l_m_a_n_._d_s_9_a_._n_l_/_m_a_i_l_m_a_n_/_l_i_s_t_i_n_f_o_/_l_a_r_t_c HOWTO: _h_t_t_p_:_/ _/_l_a_r_t_c_._o_r_g_/
Hi,
It's like this:
A eth0 ====== eth3 B eth1
eth0:
192.168.0.2/24
2020::2/128
eth3
192.168.0.254/24
2020::254/128
eth1
192.168.30.254
3030::254/128
I'm trying to ping B's eth1 address from A, but it only works in IPv4, in IPv6 it does not work, unless i put a route via eth3's address.
regards
Filipe
Quoted 141 lines · Alexander Samad
Hi
Sorry having a bit of a problem reading your diagram but is the destination on the wire or is routed via box B
have you tried a tcpdump on B to see what it sees ?
A
Quoted 125 lines · filipe abrantes
hi and thanks for replying,
#ip r g 3030::254
3030::254 via 3030::254 dev eth0 src 2020::2 metric 0
cache mtu 1500 advmss 1440Alexander Samad wrote:
what do you get when you try ip r g 3030::254 A On Mon, Sep 20, 2004 at 02:57:17AM +0100, filipe abrantes wrote: * sorry for the other schema, it came out a mess. I hope this one is understandable. hi: I have this 2 boxes set up like this: 2020::2/128 2020::254/128 3030::254/128 192.168.0.2/24 192.168.0.254/24 192.168.30.254/24 +-------+ eth0 eth3 +-------+ | |======================= | | eth1 | A | | B | ---- | | | | +------- + +------ -+ A # ip r l 192.168.30.254 dev eth0 scope link 192.168.0.0/24 dev eth0 scope link 169.254.0.0/16 dev lo scope link 127.0.0.0/8 dev lo scope link # ip -6 r l 2020::254 dev eth0 metric 1024 mtu 1500 advmss 1440 3030::254 dev eth0 metric 1024 mtu 1500 advmss 1440 (...plus link local and multicast routes) B # ip r l 127.0.0.1 dev lo scope link 192.168.0.0/24 dev eth3 proto kernel scope link src 192.168.0.254 192.168.30.0/24 dev eth1 proto kernel scope link src 192.168.30.254 # ip -6 r l 2020::2 dev eth3 metric 1024 mtu 1500 advmss 1440 metric10 64 (...plus link local and multicast routes) # cat /proc/sys/net/ipv4/ip_forward 1 #cat /proc/sys/net/ipv6/conf/all/forwarding 1 The problem is that i can ping 192.168.30.254 from A, but i can't ping 3030::254 from A, anyone has a clue why this happens? Is there any feature i need to turn on or anything misconfigured? Why does it work for IPv4 but not for IPv6? A -> B # ping 192.168.30.254 PING 192.168.30.254 (192.168.30.254) 56(84) bytes of data. 64 bytes from 192.168.30.254: icmp_seq=0 ttl=64 time=0.175 ms 64 bytes from 192.168.30.254: icmp_seq=1 ttl=64 time=0.122 ms #ping6 3030::254 PING 3030::254(3030::254) 56 data bytes From ::1 icmp_seq=0 Destination unreachable: Address unreachable From ::1 icmp_seq=1 Destination unreachable: Address unreachable Regards Filipe Abrantes _______________________________________________ LARTC mailing list / _L_A_R_T_C_@_m_a_i_l_m_a_n_._d_s_9_a_._n_l _h_t_t_p_:_/_/_m_a_i_l_m_a_n_._d_s_9_a_._n_l_/_m_a_i_l_m_a_n_/_l_i_s_t_i_n_f_o_/_l_a_r_t_c HOWTO: _h_t_t_p_:_/ _/_l_a_r_t_c_._o_r_g_/ _______________________________________________ LARTC mailing list / _L_A_R_T_C_@_m_a_i_l_m_a_n_._d_s_9_a_._n_l _h_t_t_p_:_/_/_m_a_i_l_m_a_n_._d_s_9_a_._n_l_/_m_a_i_l_m_a_n_/_l_i_s_t_i_n_f_o_/_l_a_r_t_c HOWTO: _h_t_t_p_:_/ _/_l_a_r_t_c_._o_r_g_/