Re: Routing problem.

2001-05-12 Thread hugues obolonsky

Hello,
 
For your problem you maybe can solve it with a arp publication on box2 ?
eg: ARP -i fxp0 -Ds 213.219.39.198 fxp1 pub


Friedrich Clausen wrote:
 
 Greetings all,
 
 I will try and make myself as clear as possible so please excuse my poor ascii
 picture but it seems to help explanations better. I hope this question is
 appropriate for the list but I dont know where else to ask. First I will give
 some info :
 
 Internet
|
 Router
|
|
 ---
 |  tl0|-  ---
 | Box2||Hub|--|eth0 Box3|
 | fxp1fxp0|-  ---
 ---  |
  / | |
 /  | |
/   ---
   /
  /
-
|Hub|---
-  |
 | |
 | |
 | |
--
|eth0  Box1  eth1|
--
 
 Networks Involved : 192.168.1.0/24
 213.219.39.192/29
 213.219.39.196/29
 213.219.39.200/28
 
 Router - 213.219.39.193
 
 Box1 - Debian Linux workstation
 eth0 : 192.168.1.92
 
 Box2 - OpenBSD gateway
 fxp0 : 192.168.1.50
 fxp1 : 213.219.39.204
  alias : 213.219.39.197
 tl0  : 213.219.39.194
 
 Box3 - Debian Linux Server
 eth0 : 213.219.39.202
 eth1 : 213.219.39.198
 
 The problem is I cannot ping 213.219.39.198 from anywhere other than Box2 or
 Box1. However I can ping 213.219.39.202 from anywhere. At first I thought that
 it was because eth1 did not have a default route but I discovered that default
 routes are assigned per computer not per interface. I put up a virtual
 interface (213.219.39.197)  on box2 so it can talk to 213.219.39.198 on box1.
 
 The weird thing is that if I ping 213.219.39.198 from box3 then it recieves
 the echo request, here is tcpdump -i eth1 icmp on box1 :
 
 14:08:27.201192 192.168.1.92  213.219.39.198: icmp: echo request (DF)
 14:08:28.197807 192.168.1.92  213.219.39.198: icmp: echo request (DF)
 
 But it just never replies and I cannot figure out why. However if I ping from
 box2 or box1 then it works :
 
 14:10:50.909501 213.219.39.197  213.219.39.198: icmp: echo request
 14:10:50.910048 213.219.39.198  213.219.39.197: icmp: echo reply (DF)
 
 It appears that the eth1 interface does not know how to send a reply to the
 host that pings it so that is why I tried to assign a default gateway to it
 but that just stopped everything from working.  So the question is, how can
 I make eth1 on box1 reachable from everywhere. Thank you very much for your
 time and I hope I have made my problem clear.
 
 Regards, Friedrich.
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Routing problem.

2001-05-12 Thread hugues obolonsky
Hello,
 
For your problem you maybe can solve it with a arp publication on box2 ?
eg: ARP -i fxp0 -Ds 213.219.39.198 fxp1 pub


Friedrich Clausen wrote:
 
 Greetings all,
 
 I will try and make myself as clear as possible so please excuse my poor ascii
 picture but it seems to help explanations better. I hope this question is
 appropriate for the list but I dont know where else to ask. First I will give
 some info :
 
 Internet
|
 Router
|
|
 ---
 |  tl0|-  ---
 | Box2||Hub|--|eth0 Box3|
 | fxp1fxp0|-  ---
 ---  |
  / | |
 /  | |
/   ---
   /
  /
-
|Hub|---
-  |
 | |
 | |
 | |
--
|eth0  Box1  eth1|
--
 
 Networks Involved : 192.168.1.0/24
 213.219.39.192/29
 213.219.39.196/29
 213.219.39.200/28
 
 Router - 213.219.39.193
 
 Box1 - Debian Linux workstation
 eth0 : 192.168.1.92
 
 Box2 - OpenBSD gateway
 fxp0 : 192.168.1.50
 fxp1 : 213.219.39.204
  alias : 213.219.39.197
 tl0  : 213.219.39.194
 
 Box3 - Debian Linux Server
 eth0 : 213.219.39.202
 eth1 : 213.219.39.198
 
 The problem is I cannot ping 213.219.39.198 from anywhere other than Box2 or
 Box1. However I can ping 213.219.39.202 from anywhere. At first I thought that
 it was because eth1 did not have a default route but I discovered that default
 routes are assigned per computer not per interface. I put up a virtual
 interface (213.219.39.197)  on box2 so it can talk to 213.219.39.198 on box1.
 
 The weird thing is that if I ping 213.219.39.198 from box3 then it recieves
 the echo request, here is tcpdump -i eth1 icmp on box1 :
 
 14:08:27.201192 192.168.1.92  213.219.39.198: icmp: echo request (DF)
 14:08:28.197807 192.168.1.92  213.219.39.198: icmp: echo request (DF)
 
 But it just never replies and I cannot figure out why. However if I ping from
 box2 or box1 then it works :
 
 14:10:50.909501 213.219.39.197  213.219.39.198: icmp: echo request
 14:10:50.910048 213.219.39.198  213.219.39.197: icmp: echo reply (DF)
 
 It appears that the eth1 interface does not know how to send a reply to the
 host that pings it so that is why I tried to assign a default gateway to it
 but that just stopped everything from working.  So the question is, how can
 I make eth1 on box1 reachable from everywhere. Thank you very much for your
 time and I hope I have made my problem clear.
 
 Regards, Friedrich.
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]