Default gateway for host1 is set to 10.1.1.2, change to 10.1.1.1 -----Original Message----- From: kclug-bounces@kclug.org [mailto:kclug-bounces@kclug.org]On Behalf Of hanasaki Sent: Wednesday, August 31, 2005 11:04 AM To: List - KCLUG Subject: routing problem host1 host2 and host3 are all connected to the same 10/100 switch. traceroute host3 <= from host1 hits host2, the router The goal is to skip the router and go directly to host3 since they are on the same subnet. thoughts? whats the issue? and fix? Thanks, ============= host1 = addr:10.1.1.30 / mask 255.255.255.0 Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.1.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 10.1.1.2 0.0.0.0 UG 0 0 0 eth0 =============== host2 = addr:10.1.1.2 <= the router to the outside world Destination Gateway Genmask Flags Metric Ref Use Iface 10.1.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 10.1.1.1 0.0.0.0 UG 0 0 0 eth0 ================ host3 = 101.1.1.10 / mask 255.255.255.0 _______________________________________________ Kclug mailing list Kclug@kclug.org http://kclug.org/mailman/listinfo/kclug
On 11:34:52 am 08/31/05 "Jeremy Fowler" <JFowler@westrope.com> wrote:
Default gateway for host1 is set to 10.1.1.2, change to 10.1.1.1
Umm.. no. The default gateway is for any request outside the local subnet and if 10.1.1.2 is the router out then this is correct. The routing table for host1 shows that no gateway is required for 10.1.1.0/24 and that all else (0.0.0.0) should be shoved out 10.1.1.2.
host3 = 101.1.1.10 / mask 255.255.255.0
If this is correct then this is the problem since 101.1.1.10 is not on the same subnet as host1 and therefore requests are being sent out the router. I wonder if host3 is actually online? If the above is a typo and host3 is actually 10.1.1.10 then maybe you should try resetting the switch because your routing tables look ok AFAIKT. \__ Jason Munro \__ jason@stdbev.com \__ http://hastymail.sourceforge.net/
yup.. dam fingers ! its 10. not 101. See what happens when manually updating several text files? i moved from 192. to 10. nets host3 is a printserver box from trendmicro http://www.trendnet.com/asp/download_manager/list_subcategory.asp?SUBTYPE_ID... nice little box. Still have an issue.... printserver pings fine now =================================== from host1 ping scribe-01 PING scribe-01.home.hanaden.com (10.1.1.10) 56(84) bytes of data. 64 bytes from scribe-01.home.hanaden.com.1.1.10.in-addr.arpa (10.1.1.10): icmp_seq=1 ttl=32 time=0.716 ms but can connect to it. nmap reports nothing. All 1663 scanned ports on scribe-01.home.hanaden.com.1.1.10.in-addr.arpa (10.1.1.10) are: filtered =================== from host2 - the router --- 10.1.1.10 ping statistics --- 22 packets transmitted, 0 packets received, 100% packet loss everything is on the same hw and cables as when it worked on 192.... Jason Munro wrote:
On 11:34:52 am 08/31/05 "Jeremy Fowler" <JFowler@westrope.com> wrote:
Default gateway for host1 is set to 10.1.1.2, change to 10.1.1.1
Umm.. no. The default gateway is for any request outside the local subnet and if 10.1.1.2 is the router out then this is correct. The routing table for host1 shows that no gateway is required for 10.1.1.0/24 and that all else (0.0.0.0) should be shoved out 10.1.1.2.
host3 = 101.1.1.10 / mask 255.255.255.0
If this is correct then this is the problem since 101.1.1.10 is not on the same subnet as host1 and therefore requests are being sent out the router. I wonder if host3 is actually online? If the above is a typo and host3 is actually 10.1.1.10 then maybe you should try resetting the switch because your routing tables look ok AFAIKT.
\__ Jason Munro \__ jason@stdbev.com \__ http://hastymail.sourceforge.net/
working like a champ now! is it possible that there was something in the ip stack that had to timeout? I did manually arp -d the host3 entries and after a "ping" arp -a showed them with a MAC of "<incomplete>" whatever that means. Jason Munro wrote:
On 11:34:52 am 08/31/05 "Jeremy Fowler" <JFowler@westrope.com> wrote:
Default gateway for host1 is set to 10.1.1.2, change to 10.1.1.1
Umm.. no. The default gateway is for any request outside the local subnet and if 10.1.1.2 is the router out then this is correct. The routing table for host1 shows that no gateway is required for 10.1.1.0/24 and that all else (0.0.0.0) should be shoved out 10.1.1.2.
host3 = 101.1.1.10 / mask 255.255.255.0
If this is correct then this is the problem since 101.1.1.10 is not on the same subnet as host1 and therefore requests are being sent out the router. I wonder if host3 is actually online? If the above is a typo and host3 is actually 10.1.1.10 then maybe you should try resetting the switch because your routing tables look ok AFAIKT.
\__ Jason Munro \__ jason@stdbev.com \__ http://hastymail.sourceforge.net/
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hanasaki wrote: | working like a champ now! | | is it possible that there was something in the ip stack that had to | timeout? I did manually arp -d the host3 entries and after a "ping" arp | -a showed them with a MAC of "<incomplete>" whatever that means. Quite possible...I find: ip neigh flush dev eth0 helps a lot with this, especially when playing with proxy-arp settings! - -- Charles Steinkuehler charles@steinkuehler.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFDFfncLywbqEHdNFwRAi+aAJ4l9QArDcyS65eZyAEJg6qyOFGn3wCgwLkA eJJaGBYtQQ+n3ODowCcJMJg= =aQvJ -----END PGP SIGNATURE-----
participants (4)
-
Charles Steinkuehler -
hanasaki -
Jason Munro -
Jeremy Fowler