LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Routing between eth1 and eth1:1 (https://www.linuxquestions.org/questions/linux-networking-3/routing-between-eth1-and-eth1-1-a-166413/)

cli_man 04-05-2004 08:34 AM

Routing between eth1 and eth1:1
 
I have just set in a server that is acting as a firewall, it has 2 network cards:

eth0 - this is outgoing to the internet
192.168.0.2
255.255.255.0
Default gw 192.168.0.1 - This is the router

eth1
63.174.233.2
255.255.255.0

eth1:1
63.166.92.2
255.255.254.0

The problem I am having is, I cannot ping from a host in 63.174.233.x to a host in 63.166.92.x network, when I do I get the following (this ping request is coming from 63.174.233.21):

Code:

sh-2.05b$ ping 63.166.92.26
PING 63.166.92.26 (63.166.92.26) 56(84) bytes of data.
From 63.174.233.2: icmp_seq=1 Redirect Host(New nexthop: 63.166.92.26)
From 63.174.233.2: icmp_seq=2 Redirect Host(New nexthop: 63.166.92.26)

--- 63.166.92.26 ping statistics ---
7 packets transmitted, 0 received, 100% packet loss, time 6023ms

sh-2.05b$

If I go from the 63.166.92.0 network to the 63.174.233.0 network it works perfect, I will list my routing table below:

Code:

root@ids:/var/log# route
Kernel IP routing table
Destination    Gateway        Genmask        Flags Metric Ref    Use Iface
63.174.233.0        *              255.255.255.0  U    0      0        0 eth1
192.168.0.0    *              255.255.255.0  U    0      0        0 eth0
63.166.92.0    *              255.255.254.0  U    0      0        0 eth1
loopback        *              255.0.0.0      U    0      0        0 lo
default        192.168.0.1 0.0.0.0        UG    2      0        0 eth0
root@ids:/var/log#

If anyone can give me some help here, thanks.

Edit:
I just found out, on the 63.166.92.0 network I was trying to ping wireless radio's and they are the ones giving me the problem, they worked fine before I put in the firewall and now I cannot ping them, I can still ping the routers that are behind the radios so I am going through:
me(63.174.233.21) -> firewall eth1(63.174.233.2) -> firewall eth1:1(63.166.92.2) -> wirelessRadio(63.166.92.24) -> endclient router(63.174.233.25

So I can ping the wirelessRadio but no the endclient router?

cli_man 04-05-2004 10:18 AM

Ok it looks like we have it working now, it turns out the wireless radio's had the old router cached in them and just reseting them seems to fix the problem, a fun job since there are about 100 of them on the subnet

ugge 04-05-2004 11:41 AM

I don't know but shouldn't the route for 63.166.92.0 be eth1:1
Don't know that show in the routing table.

cli_man 04-05-2004 11:54 AM

It is but it does not show.


All times are GMT -5. The time now is 04:09 AM.