All pastes #125546 Raw Edit

Stuff

public text v1 · immutable
·published 2006-08-10 18:49 UTC
rendered paste body
Here is what the main pbx looks like at the moment:

root@wpi1p1:~> route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.199.101 0.0.0.0         255.255.255.255 UH    0      0        0 tun0
192.168.99.0    0.0.0.0         255.255.255.0   U     0      0        0 eth1
192.168.251.0   192.168.199.101 255.255.255.0   UG    0      0        0 tun0
198.46.71.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
10.0.0.0        10.1.1.1        255.255.0.0     UG    0      0        0 eth1
10.1.0.0        0.0.0.0         255.255.0.0     U     0      0        0 eth1
127.0.0.0       127.0.0.1       255.0.0.0       UG    0      0        0 lo
0.0.0.0         198.46.71.1     0.0.0.0         UG    0      0        0 eth0


root@wpi1p1:~> ifconfig
eth0      Link encap:Ethernet  HWaddr 00:30:48:59:A9:46
         inet addr:198.46.71.27  Bcast:198.46.71.255  Mask:255.255.255.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:3489686 errors:0 dropped:0 overruns:0 frame:0
         TX packets:538471 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:2734996425 (2608.2 Mb)  TX bytes:121269965 (115.6 Mb)
         Base address:0x4000 Memory:ed280000-ed2a0000

eth1      Link encap:Ethernet  HWaddr 00:30:48:59:A9:47
         inet addr:192.168.99.1  Bcast:192.168.99.255  Mask:255.255.255.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:26512461 errors:0 dropped:0 overruns:0 frame:0
         TX packets:23589108 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:8143387488 (7766.1 Mb)  TX bytes:6150827283 (5865.8 Mb)
         Base address:0x5000 Memory:ed300000-ed320000

eth1:1    Link encap:Ethernet  HWaddr 00:30:48:59:A9:47
         inet addr:10.1.1.2  Bcast:10.1.255.255  Mask:255.255.0.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:387740 errors:0 dropped:0 overruns:0 frame:0
         TX packets:461745 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:58638821 (55.9 Mb)  TX bytes:245657412 (234.2 Mb)
         Base address:0x5000 Memory:ed300000-ed320000

lo        Link encap:Local Loopback
         inet addr:127.0.0.1  Mask:255.0.0.0
         UP LOOPBACK RUNNING  MTU:16436  Metric:1
         RX packets:1708340 errors:0 dropped:0 overruns:0 frame:0
         TX packets:1708340 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:523032908 (498.8 Mb)  TX bytes:523032908 (498.8 Mb)

tun0      Link encap:UNSPEC  HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
         inet addr:192.168.199.1  P-t-P:192.168.199.101  Mask:255.255.255.255
         UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
         RX packets:387740 errors:0 dropped:0 overruns:0 frame:0
         TX packets:461745 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:100
         RX bytes:58638821 (55.9 Mb)  TX bytes:245657412 (234.2 Mb)


The tun0 interfaces are the VPN endpoints. AT&T has told us they will
be willing to route the 198 stuff for us so we don't have a
bass-ackward network initilazation that is flaky and potentially slow
at best (TCP Data payload over UDP VPN packets). I guess after Shelby
showed them what we are having to do they felt sorry for us.

This is what a branch office looks like that utilizes the VPN. 251 is
the branch IP.

root@wpi251:~> route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.199.1   0.0.0.0         255.255.255.255 UH    0      0        0 tun0
192.168.199.0   192.168.199.1   255.255.255.0   UG    0      0        0 tun0
192.168.99.0    0.0.0.0         255.255.255.0   U     0      0        0 eth1
192.168.251.0   0.0.0.0         255.255.255.0   U     0      0        0 eth1
198.46.71.0     192.168.199.1   255.255.255.0   UG    0      0        0 tun0
198.46.71.0     0.0.0.0         255.255.255.0   U     0      0        0 tun0
10.0.0.0        0.0.0.0         255.255.0.0     U     0      0        0 eth0
10.1.0.0        10.0.251.1      255.255.0.0     UG    0      0        0 eth0
127.0.0.0       127.0.0.1       255.0.0.0       UG    0      0        0 lo

root@wpi251:~> ifconfig
eth0      Link encap:Ethernet  HWaddr 00:30:48:59:AA:32
         inet addr:10.0.251.2  Bcast:10.0.255.255  Mask:255.255.0.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:1858842 errors:0 dropped:0 overruns:0 frame:0
         TX packets:1472756 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:1350221231 (1287.6 Mb)  TX bytes:287315772 (274.0 Mb)
         Base address:0x4000 Memory:ed280000-ed2a0000

eth1      Link encap:Ethernet  HWaddr 00:30:48:59:AA:33
         inet addr:192.168.99.1  Bcast:192.168.99.255  Mask:255.255.255.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:1323227 errors:0 dropped:0 overruns:0 frame:0
         TX packets:1678541 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:159084023 (151.7 Mb)  TX bytes:1220977738 (1164.4 Mb)
         Base address:0x5000 Memory:ed300000-ed320000

eth1:1    Link encap:Ethernet  HWaddr 00:30:48:59:AA:33
         inet addr:192.168.251.1  Bcast:192.168.251.255  Mask:255.255.255.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:460951 errors:0 dropped:0 overruns:0 frame:0
         TX packets:389413 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:245363054 (233.9 Mb)  TX bytes:59053586 (56.3 Mb)
         Base address:0x5000 Memory:ed300000-ed320000

lo        Link encap:Local Loopback
         inet addr:127.0.0.1  Mask:255.0.0.0
         UP LOOPBACK RUNNING  MTU:16436  Metric:1
         RX packets:293299 errors:0 dropped:0 overruns:0 frame:0
         TX packets:293299 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:20591143 (19.6 Mb)  TX bytes:20591143 (19.6 Mb)

tun0      Link encap:UNSPEC  HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
         inet addr:192.168.199.101  P-t-P:192.168.199.1  Mask:255.255.255.255
         UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
         RX packets:460951 errors:0 dropped:0 overruns:0 frame:0
         TX packets:389413 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:100
         RX bytes:245363054 (233.9 Mb)  TX bytes:59053586 (56.3 Mb)