Dual homed host routing problem
Hi, I'm running FreeBSD 4.7-RELEASE and I have trouble routing between two NIC's. On one side I have a 192.168.1.0/24 network and on the other a 212.110.94.64/27 network on which I have mail and web servers, which the 192.168.1.0/24 hosts should be able to reach. Here are the ifconfig and netstat -r outputs: wb0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 212.110.94.84 netmask 0xffe0 broadcast 212.110.94.95 inet6 fe80::280:48ff:feb5:af3%wb0 prefixlen 64 scopeid 0x1 ether 00:80:48:b5:0a:f3 media: Ethernet autoselect (100baseTX full-duplex) status: active rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255 inet6 fe80::202:44ff:fe4f:958e%rl0 prefixlen 64 scopeid 0x2 ether 00:02:44:4f:95:8e media: Ethernet autoselect (10baseT/UTP) status: active Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire default 212.110.94.65 UGSc40wb0 localhost localhost UH 00lo0 192.168.1 link#2 UC 10 rl0 192.168.1.255 ff:ff:ff:ff:ff:ff UHLWb 1 45rl0 212.110.94.64/27 link#1 UC 80wb0 and I have net.inet.ip.forwarding set to 1 How do I get my box to route packets between the two interfaces 192.168.1.1 and 212.110.94.84? - ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Dual homed host routing problem
I'm running FreeBSD 4.7-RELEASE and I have trouble routing between two NIC's. On one side I have a 192.168.1.0/24 network and on the other a 212.110.94.64/27 network on which I have mail and web servers, which the 192.168.1.0/24 hosts should be able to reach. Here are the ifconfig and netstat -r outputs: wb0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 212.110.94.84 netmask 0xffe0 broadcast 212.110.94.95 inet6 fe80::280:48ff:feb5:af3%wb0 prefixlen 64 scopeid 0x1 ether 00:80:48:b5:0a:f3 media: Ethernet autoselect (100baseTX full-duplex) status: active rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255 inet6 fe80::202:44ff:fe4f:958e%rl0 prefixlen 64 scopeid 0x2 ether 00:02:44:4f:95:8e media: Ethernet autoselect (10baseT/UTP) status: active Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire default 212.110.94.65 UGSc40wb0 localhost localhost UH 00lo0 192.168.1 link#2 UC 1 0 rl0 192.168.1.255 ff:ff:ff:ff:ff:ff UHLWb 1 45rl0 212.110.94.64/27 link#1 UC 80wb0 and I have net.inet.ip.forwarding set to 1 How do I get my box to route packets between the two interfaces 192.168.1.1 and 212.110.94.84? Log into 212.110.94.65 and tell it that 192.168.1.0/24 is behind 212.110.94.84. If it's a BSD box you could do on .94.65; route add -net 192.168.1.0/24 212.110.94.84 - Sten ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Dual homed host routing problem
I'm running FreeBSD 4.7-RELEASE and I have trouble routing between two NIC's. On one side I have a 192.168.1.0/24 network and on the other a 212.110.94.64/27 network on which I have mail and web servers, which the 192.168.1.0/24 hosts should be able to reach. Here are the ifconfig and netstat -r outputs: wb0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 212.110.94.84 netmask 0xffe0 broadcast 212.110.94.95 inet6 fe80::280:48ff:feb5:af3%wb0 prefixlen 64 scopeid 0x1 ether 00:80:48:b5:0a:f3 media: Ethernet autoselect (100baseTX full-duplex) status: active rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255 inet6 fe80::202:44ff:fe4f:958e%rl0 prefixlen 64 scopeid 0x2 ether 00:02:44:4f:95:8e media: Ethernet autoselect (10baseT/UTP) status: active Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire default 212.110.94.65 UGSc40wb0 localhost localhost UH 00lo0 192.168.1 link#2 UC 1 0 rl0 192.168.1.255 ff:ff:ff:ff:ff:ff UHLWb 1 45rl0 212.110.94.64/27 link#1 UC 80wb0 and I have net.inet.ip.forwarding set to 1 How do I get my box to route packets between the two interfaces 192.168.1.1 and 212.110.94.84? It may not be the actual dual-homed boxes issue. For this to work completely, the devices on the two networks you mention must also have the correct routing. So, devices on 192.168.1.0/24 must have a route for 212.110.94.64/27 via 192.168.1.1... most probably a default route as I assume the devices on 192.168.1.0/24 are reaching the net via this box. In addition, any device on 212.110.94.64/27 that is supposed to reach 192.168.1.0/24 devices must route 192.186.1.0/24 via 212.110.94.84. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Dual homed host routing problem
On Thu, 27 Mar 2003, Philip Payne wrote: I'm running FreeBSD 4.7-RELEASE and I have trouble routing between two NIC's. On one side I have a 192.168.1.0/24 network and on the other a 212.110.94.64/27 network on which I have mail and web servers, which the 192.168.1.0/24 hosts should be able to reach. Here are the ifconfig and netstat -r outputs: wb0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 212.110.94.84 netmask 0xffe0 broadcast 212.110.94.95 inet6 fe80::280:48ff:feb5:af3%wb0 prefixlen 64 scopeid 0x1 ether 00:80:48:b5:0a:f3 media: Ethernet autoselect (100baseTX full-duplex) status: active rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 192.168.1.1 netmask 0xff00 broadcast 192.168.1.255 inet6 fe80::202:44ff:fe4f:958e%rl0 prefixlen 64 scopeid 0x2 ether 00:02:44:4f:95:8e media: Ethernet autoselect (10baseT/UTP) status: active Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire default 212.110.94.65 UGSc40wb0 localhost localhost UH 00lo0 192.168.1 link#2 UC 1 0 rl0 192.168.1.255 ff:ff:ff:ff:ff:ff UHLWb 1 45rl0 212.110.94.64/27 link#1 UC 80wb0 and I have net.inet.ip.forwarding set to 1 How do I get my box to route packets between the two interfaces 192.168.1.1 and 212.110.94.84? It may not be the actual dual-homed boxes issue. For this to work completely, the devices on the two networks you mention must also have the correct routing. So, devices on 192.168.1.0/24 must have a route for 212.110.94.64/27 via 192.168.1.1... most probably a default route as I assume the devices on 192.168.1.0/24 are reaching the net via this box. In addition, any device on 212.110.94.64/27 that is supposed to reach 192.168.1.0/24 devices must route 192.186.1.0/24 via 212.110.94.84. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I'm full down in networks,but you cat try to use routed,with strat up option -s .I think it must be work ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]