On 3/9/13 9:17 AM, "Mr Dash Four" <[email protected]> wrote:

>Makes perfect sense to me, though I can't judge this if there is a
>mixture of ipv4 and ipv6 interfaces on the same system - don't really
>know what the contents of main would be then.

Each address family has its own 'main' table:

67.170.120.1 dev eth0  scope link  src 67.170.121.6
4.2.2.2 via 70.90.191.126 dev eth1
216.218.226.238 via 70.90.191.126 dev eth1
172.20.1.44 dev br0  scope link
70.90.191.126 dev eth1  scope link  src 70.90.191.121
70.90.191.124 dev br0  scope link
70.90.191.125 dev br0  scope link
70.90.191.122 dev br0  scope link
172.20.0.2 dev tun0  proto kernel  scope link  src 172.20.0.1
70.90.191.120/29 dev eth1  proto kernel  scope link  src 70.90.191.121
172.20.0.0/25 via 172.20.0.2 dev tun0
172.20.2.0/24 dev br0  proto kernel  scope link  src 172.20.2.254
10.1.10.0/24 dev eth1  proto kernel  scope link  src 10.1.10.11
172.20.1.0/24 dev eth2  proto kernel  scope link  src 172.20.1.254
67.170.120.0/21 dev eth0  proto kernel  scope link  src 67.170.121.6
metric 1 
blackhole 192.168.0.0/16
blackhole 172.16.0.0/12
blackhole 10.0.0.0/8
root@gateway:~# ip -6 -o route ls table main | fgrep -v cache
2001:470:a:227::1 dev sit1  metric 1024  mtu 1480 advmss 1420 hoplimit
4294967295
2001:470:a:227::/64 via :: dev sit1  proto kernel  metric 256  mtu 1480
advmss 1420 hoplimit 4294967295
2001:470:a:787::1 dev sit2  metric 1024  mtu 1480 advmss 1420 hoplimit
4294967295
2001:470:a:787::/64 via :: dev sit2  proto kernel  metric 256  mtu 1480
advmss 1420 hoplimit 4294967295
2001:470:b:227::40/124 dev br0  proto kernel  metric 256  mtu 1500 advmss
1440 hoplimit 4294967295
2001:470:b:227::/64 dev br0  proto kernel  metric 256  mtu 1500 advmss
1440 hoplimit 4294967295
2001:470:b:787::/64 dev eth2  proto kernel  metric 256  mtu 1500 advmss
1440 hoplimit 4294967295
fe80::/64 dev eth2  proto kernel  metric 256  mtu 1500 advmss 1440
hoplimit 4294967295
fe80::/64 dev ifb0  proto kernel  metric 256  mtu 1500 advmss 1440
hoplimit 4294967295
fe80::/64 dev br0  proto kernel  metric 256  mtu 1500 advmss 1440 hoplimit
4294967295
fe80::/64 dev eth0  proto kernel  metric 256  mtu 1500 advmss 1440
hoplimit 4294967295
fe80::/64 via :: dev sit1  proto kernel  metric 256  mtu 1480 advmss 1420
hoplimit 4294967295
fe80::/64 via :: dev sit2  proto kernel  metric 256  mtu 1480 advmss 1420
hoplimit 4294967295
root@gateway:~# 


-Tom
You do not need a parachute to skydive. You only need a parachute to
skydive twice.





------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to