Re: (network issue) can nobody understand this?
From: H. S. (g_reate_xcalibur_at_yahoo.com)
Date: 04/29/04
- Next message: Grant Edwards: "ssh to machines behind firewall?"
- Previous message: Floyd L. Davidson: "Re: PPP on demand"
- In reply to: H. S.: "need help in adding a computer to internal home network (host unreachable)"
- Next in thread: /dev/rob0: "Re: need help in adding a computer to internal home network (host unreachable)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 29 Apr 2004 15:16:16 -0400
or have I not described the problem properly? I am at wit's end, not
sure what is wrong with my network. Could use some help.
->HS
Apparently, _H. S._, on 04/29/04 03:35,typed:
> Hi,
>
> I am trying to add another computer to my internal home network. My main
> computer, say HomeR (running Debian Sarge 2.4.24-1-686), working as a
> router has two NICs. It's eth0 connects to the high speed modem and eth1
> connects to a switch and has the configuration:
> #-------------------------------------------------------------------
> #> cat /etc/network/interfaces
> # Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
> # /usr/share/doc/ifupdown/examples for more information.
> # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
>
> # The loopback interface
> auto lo
> iface lo inet loopback
>
> # The first network card - this entry was created during the Debian
> installation
> # (network, broadcast and gateway are optional)
> auto eth0
> iface eth0 inet static
> address 192.168.1.0
> netmask 255.255.255.0
> network 192.168.0.0
> broadcast 192.168.0.255
> # gateway 192.168.10.1
> pre-up /etc/iptables/iptables.sh panic
> pre-up /etc/iptables/iptables.sh preup_start
> auto eth1
> iface eth1 inet static
> address 192.168.0.2
> netmask 255.255.255.0
> network 192.168.0.0
> broadcast 192.168.0.255
> # gateway 192.168.1.0
> #-------------------------------------------------------------------
> The route command on HomeR gives:
> #> route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> a.b.c.d 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
> 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
> 0.0.0.0 a.b.c.d 0.0.0.0 UG 0 0 0 ppp0
>
> where a.b.c.d is the IP that my ISP provides each time I connect to it.
>
>
> My two internal computer are connected to the swith from their NICs.
>
> One of my internal home computers, say Home1, is 192.168.0.10 and is
> working fine (ping, internet, ssh, etc. towards HomeR and outside). The
> other, say Home2, is the one I am trying to add. I put in Knoppix and
> set Home2 up as 192.168.0.11, with netmask 255.255.255.0, gateway
> 192.168.0.2 and with the nameserves which are listed in
> /etc/resolve.conf of HomeR (the router machine).
>
> I cannot ping to or from 192.168.0.11 any other computer. Domain names
> do not get resolved. If I try pinging it from HomeR, I get:
> # ping -c4 192.168.0.11
> PING 192.168.0.11 (192.168.0.11) 56(84) bytes of data.
> From 192.168.0.2 icmp_seq=1 Destination Host Unreachable
> From 192.168.0.2 icmp_seq=2 Destination Host Unreachable
> From 192.168.0.2 icmp_seq=3 Destination Host Unreachable
> From 192.168.0.2 icmp_seq=4 Destination Host Unreachable
>
> --- 192.168.0.11 ping statistics ---
> 4 packets transmitted, 0 received, +4 errors, 100% packet loss, time 3000ms
> , pipe 3
>
>
> But if I disconnect Home1 from the internal LAN, and do 'tcpdump -i
> eth1' on HomeR, and ping HomeR from Home2, I get:
> # tcpdump -i eth1
> tcpdump: listening on eth1
> 03:19:03.838878 arp who-has 192.168.0.2 tell 192.168.0.11
> 03:19:03.838928 arp reply 192.168.0.2 is-at 0:50:ba:50:3:87
> 03:19:04.833008 arp who-has 192.168.0.2 tell 192.168.0.11
> 03:19:04.833039 arp reply 192.168.0.2 is-at 0:50:ba:50:3:87
> 03:19:05.833046 arp who-has 192.168.0.2 tell 192.168.0.11
> 03:19:05.833091 arp reply 192.168.0.2 is-at 0:50:ba:50:3:87
>
>
> But if I do 'tcpdump -i eth0' on Home2 and ping Home2 from HomeR, I get
> no activity. So it seems that Home2 is able to send packets to the
> 192.168.0.0 network, but no other machine is able to send any to
> 192.168.0.11(Home2).
>
>
> Any ideas what could be going wrong or how do I go about solving this?
>
> Thanks a ton,
> ->HS
>
>
-- (Please remove all underscores from my email address to get the correct one. Apologies for the inconvenience, but this is to reduce spam.)
- Next message: Grant Edwards: "ssh to machines behind firewall?"
- Previous message: Floyd L. Davidson: "Re: PPP on demand"
- In reply to: H. S.: "need help in adding a computer to internal home network (host unreachable)"
- Next in thread: /dev/rob0: "Re: need help in adding a computer to internal home network (host unreachable)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|