routing trouble
I'm using this basic setup:
------- inet
2 |
0 |
S 6 |
u : pipeline50 aaa.bb.cc.1
b 8 |
n 1 |
e : HUB-----my regular hosts that I'm using to type this email.
t 4 | Unprotected network...run SATAN here, point at
firewall.
1 |
: |
0 ---------
|
|
_______ -----------------------
| 206.81.41.8 |
2 | |
0 | |
S 6 | |
u : | | _____________
b 8 | | | |
n 1 | 206.81.41.65 |----HUB-------| bast-1 |
e : | | |206.81.41.66 |
t 4 | | | mail & DNS |
1 | | |_____________|
: | Packet Filter & |
6 | Masquerade System |
4 | |
| |
| |
| |
| 206.81.41.129 |
------- -----------------------
|
2 |
0 |
I 6 |
N : | ---------------
T 8 | | |
E 1 HUB---------| mail-hub |
R : | | |
N 4 | | 206.81.41.130 |
A 1 | | |
L : | ---------------
1 ---------------
N 2 | |
E 8 | mail-client |
T | |
| 206.81.41.131 |
|_______________|
and am having some trouble figuring out the routing.
I can ping 206.81.41.66 to 206.81.41.130 and vice versa.
I can telnet from 206.81.41.66 to 206.81.41.130 but I can't
telnet from 206.81.41.130 to 206.81.41.66. It starts the telnet
messages on the screen then just hangs. I haven't really set up the hosts
correctly on the 206.81.41.0 network so haven't played with that yet.
Here are the routes and ifconfigs:
pacfil:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
206.81.41.0 0.0.0.0 255.255.255.192 U 0 0 7 eth2
206.81.41.64 0.0.0.0 255.255.255.192 U 0 0 18 eth1
206.81.41.128 0.0.0.0 255.255.255.192 U 0 0 7 eth0
0.0.0.0 206.81.41.1 255.255.255.192 UG 0 0 0 eth2
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
TX packets:0 errors:0 dropped:0 overruns:0
eth0 Link encap:10Mbps Ethernet HWaddr 00:10:4B:23:33:EF
inet addr:206.81.41.129 Bcast:206.81.41.191 Mask:255.255.255.192
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:831 errors:0 dropped:0 overruns:0
TX packets:457 errors:0 dropped:0 overruns:0
Interrupt:9 Base address:0xd000
eth1 Link encap:10Mbps Ethernet HWaddr 00:60:08:CF:43:AC
inet addr:206.81.41.65 Bcast:206.81.41.127 Mask:255.255.255.192
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:718 errors:0 dropped:0 overruns:0
TX packets:641 errors:0 dropped:0 overruns:0
Interrupt:12 Base address:0xb800
eth2 Link encap:10Mbps Ethernet HWaddr 00:60:08:CB:3C:1D
inet addr:206.81.41.8 Bcast:206.81.41.63 Mask:255.255.255.192
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:701 errors:0 dropped:0 overruns:0
TX packets:57 errors:0 dropped:0 overruns:0
Interrupt:10 Base address:0xb400
mailhub:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
206.81.41.128 0.0.0.0 255.255.255.192 U 0 0 15 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 5 lo
0.0.0.0 206.81.41.129 0.0.0.0 UG 1 0 17 eth0
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:65 errors:0 dropped:0 overruns:0
TX packets:65 errors:0 dropped:0 overruns:0
eth0 Link encap:10Mbps Ethernet HWaddr 00:60:08:CF:43:7B
inet addr:206.81.41.130 Bcast:206.81.41.191 Mask:255.255.255.192
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4673 errors:0 dropped:0 overruns:0
TX packets:1413 errors:0 dropped:0 overruns:0
Interrupt:10 Base address:0xe000
bast1:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
206.81.41.64 0.0.0.0 255.255.255.192 U 0 0 6 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 4 lo
0.0.0.0 206.81.41.65 0.0.0.0 UG 1 0 59 eth0
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:104 errors:0 dropped:0 overruns:0
TX packets:104 errors:0 dropped:0 overruns:0
eth0 Link encap:10Mbps Ethernet HWaddr 00:10:4B:30:BF:B6
inet addr:206.81.41.66 Bcast:206.81.41.127 Mask:255.255.255.192
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1050 errors:0 dropped:0 overruns:0
TX packets:4082 errors:0 dropped:0 overruns:0
Interrupt:12 Base address:0xe000
I'm not sure where I've gone astray here. Any ideas?
here are the commands for the router (pacfil)
#!/bin/sh
#
#
ifconfig eth0 206.81.41.129 netmask 255.255.255.192 broadcast 206.81.41.191
ifconfig eth1 206.81.41.65 netmask 255.255.255.192 broadcast 206.81.41.127
ifconfig eth2 206.81.41.8 netmask 255.255.255.192 broadcast 206.81.41.63
route add -net 206.81.41.0 netmask 255.255.255.192 dev eth2
route add -net 206.81.41.64 netmask 255.255.255.192 dev eth1
route add -net 206.81.41.128 netmask 255.255.255.192 dev eth0
route add default gateway 206.81.41.1 netmask 255.255.255.192 dev eth2
ifconfig
route -n
exit 0
Thanks Henry Hollenberg speed@barney.iamerica.net
--
To UNSUBSCRIBE, email to debian-firewall-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: