>Date: Sat, 31 Jul 1999 12:52:35 +1000
>To: Hormuzd KHOSRAVI <[EMAIL PROTECTED]>
>From: Bruce Stephens <[EMAIL PROTECTED]>
>Subject: Re: No Answers Yet !!!
>Cc:
>Bcc:
>X-Attachments:
>
>Hi there, yes I saw your first message - sorry I didn't reply, a little
>busy in my own wee world.
>
>This sounds nothing more than a simple routing problem/issue.
>You have said that you can ping from a to b THUS the wires/cables probably
>work!!! Having to force address resolution means that the addresses from
>the the targets are not being satisfactorily or correctly recovered.
>
>Issue one - check any Firewall/masquerade restriction - easy way open
>every thing up for the test and slowly shutdown each rule one by one.
>Issue two - strip down ALL routes in the routing table and add the routes
>testing each one - again one by one.
>
>Issue three - get Host 1 to talk to the gateway through the hub using all
>protocols ie use ping telnet perhaps dns
>
>Issue Four do the same for Host 2 to the gw ONLY
>
> Go to the gw and reverse the tests to each host.
>
>Issue Five - NOW setup the gateway routing (probably already done in fact
>if the routing has been done correctly on the gw in the first place!)
>
>NOW start the aliasing issue and the masquerade/FW issue.
>With the alias on the ethernet card, make sure that it works and the host
>with the alias first!!
>
>Also you are using Class A addresses with Class C masking constraints to
>force Class C subnets, any particular reason - whuy not use 192.168.x.x
>range?
>ANYWAY...
>
>host 1 eth0 192.168.0.1 should have
>route add -net 192.168.0 netmask 255.255.255.0 gw eth0
>route add -default gw eth0
>
>host 2 eth1 102.168.0.2
><same>
>
>gw eth0 192.168.0.3 and eth1 192.168.0.4
>route add -net 192.168.0.1 gw ethx < whichever> < perhaps
>route add -net 192.168.0.2 gw ethy < also perhaps
>route add -net 192.168.0.0 gw eth0 < default?
>route add -default gw eth0 < or whateever?
>
>(Please note the commands may not be explicitly correct because I can never
>remember the variations from one system to the next (and its not getting
>any better) BUT the principle is there!!
>
>Regards,
>Bruce.
>
>>Hello Linux Gurus,
>>
>>I had posted this query sometime this week. I have not yet received any
>>answers or possible answers from anyone. I hope that someone could give me
>>some hints as to what the problem might be. Thanks !
>>
>>
>>Regards,
>>Hormuzd.
>>
>>---------- Forwarded message ----------
>>
>>i have been faced with a very wiered problem. I have set up a testbed
>>consisting of a 2 hosts and 1 router (all linux boxes). The router has 2
>>interface cards and both have different subnet addresses and the router
>>has been configured to route packets between the subnets. The 2 hosts have
>>different subnet addresses and route packets to each other via the
>>router(gw). They are all connected thru the same physical hub though !
>>
>>The problem is that the ping works fine from host1 to host2 but from
>>host2 to host1 it only works after the arp cache in all the 3 machines
>>have got updated with the hardware addresses. it doesnt work otherwise.
>>
>>could anyone have a clue what the problem could be ??
>>
>>The answer could be related to the fact that on the router one of the
>>interface address that i am using for routing is configured as an alias.
>>
>>I would also appreciate if someone could point me out to any bugs that
>>have been reported in IP Aliasing in kernel 2.2.2. Thanks a lot.
>>
>>
>>Regards,
>>Hormuzd.
>>
>>p.s. more details of my configuration are as follows :
>>
>>Ping works fine from 10.1.10.1 > 10.1.11.1 but does not work from
>>10.1.11.1 > 10.1.10.1 "without updated arp caches".
>>
>>-------------------------------------------------------------------------
>>router: eth0 -> IP address 10.1.10.2 Mask 255.255.255.0 (this is an alias
>>address)
>> eth1 -> IP address 10.1.11.2 Mask 255.255.255.0
>>
>>routing table :
>>
>>Destination Gateway Genmask Flags Metric Ref Use Iface
>>10.1.10.0 * 255.255.255.0 U 0 0 0 eth0
>>10.1.11.0 * 255.255.255.0 U 0 0 0 eth1
>>-------------------------------------------------------------------------
>>host1 : eth0 -> IP address 10.1.10.1 Mask 255.255.255.0
>>
>>routing table :
>>
>>Destination Gateway Genmask Flags Metric Ref Use Iface
>>10.1.10.0 * 255.255.255.0 U 0 0 0 eth0
>>10.1.11.0 10.1.10.2 255.255.255.0 UG 0 0 0 eth0
>>-------------------------------------------------------------------------
>>host2: eth0 -> IP address 10.1.11.1 Mask 255.255.255.0
>>
>>routing table :
>>
>>Destination Gateway Genmask Flags Metric Ref Use Iface
>>
>>10.1.10.0 10.1.11.2 255.255.255.0 UG 0 0 0 eth0
>>10.1.11.0 * 255.255.255.0 U 0 0 0 eth0
>>-------------------------------------------------------------------------
>>
>>
>>
>>
>>
>>
>>
>>-
>>To unsubscribe from this list: send the line "unsubscribe linux-net" in
>>the body of a message to [EMAIL PROTECTED]
>
>
>
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]