Plz Help! DHCP Router Networking issues!

Plz Help! DHCP Router Networking issues!

Post by Sean Coyl » Mon, 18 Feb 2002 20:20:55



Hey all,

This is probably going to be the first of a few questions, but I hope this
is the right place to get them answered.  BTW; thanks to all who read and/or
answered in advance!

Firstly, I have set up my dhcpd to operate correctly as far as I can tell,
it is handing out IP's seemingly correctly, but if I try from any client

simply do not make it.  I sit about 3 feet away from the switch and I can
see the link lights going so I know the traffic is passing.  A quick tcpdump
on the client or server machine shows me the DHCP-C / DHCPD messages through
out the network assigning ip's.  BUT I can not ping the gateway from any
client machine!  Furthermore, I can not ping any client machine from the
gateway!

From the Linux box, I can browse the web (that part is working just fine),
and as I said above it is assigning IP's to the DHCP clients just fine.  I
checked the Ipchains output, and currently everything is allowed (thinking
that there might be a blockade on ICMP or something equally dumb).  Ipchains
in fact, shows no rules defined and everything is allowed currently.

I am running a small subnet of a Private class C net:

Network: 192.168.0.0
Gateway: 192.168.0.1
Broadcast: 192.168.0.31
Netmask: 255.255.255.224
(30 ip's available for lease on the subnet)

Gateway can ping itself.
eth1 = 192.168.0.1/27
If I do (from gateway) ping -I eth1 192.168.0.2 (client machine) I get an
error saying it can not find the host (Destination Host Unreachable).....
Odd because I am sitting right in front of it.  Tcpdump does not seem to be
helping very much either.

All this says to me that something is mis-configured with eth1 but I have no
idea what!

If your wondering, eth0 works fine and dandy, pinging out, browsing the web,
etc...  Just eth1 that is seriously confusing!

Any ideas / suggestions?

Regards,

Sean

 
 
 

Plz Help! DHCP Router Networking issues!

Post by Trygve Selme » Mon, 18 Feb 2002 20:35:36



> Hey all,

> This is probably going to be the first of a few questions, but I hope this
> is the right place to get them answered.  BTW; thanks to all who read and/or
> answered in advance!

> Firstly, I have set up my dhcpd to operate correctly as far as I can tell,
> it is handing out IP's seemingly correctly, but if I try from any client

> simply do not make it.  I sit about 3 feet away from the switch and I can
> see the link lights going so I know the traffic is passing.  A quick tcpdump
> on the client or server machine shows me the DHCP-C / DHCPD messages through
> out the network assigning ip's.  BUT I can not ping the gateway from any
> client machine!  Furthermore, I can not ping any client machine from the
> gateway!

> From the Linux box, I can browse the web (that part is working just fine),
> and as I said above it is assigning IP's to the DHCP clients just fine.  I
> checked the Ipchains output, and currently everything is allowed (thinking
> that there might be a blockade on ICMP or something equally dumb).  Ipchains
> in fact, shows no rules defined and everything is allowed currently.

> I am running a small subnet of a Private class C net:

> Network: 192.168.0.0
> Gateway: 192.168.0.1
> Broadcast: 192.168.0.31
> Netmask: 255.255.255.224
> (30 ip's available for lease on the subnet)

> Gateway can ping itself.
> eth1 = 192.168.0.1/27
> If I do (from gateway) ping -I eth1 192.168.0.2 (client machine) I get an
> error saying it can not find the host (Destination Host Unreachable).....
> Odd because I am sitting right in front of it.  Tcpdump does not seem to be
> helping very much either.

> All this says to me that something is mis-configured with eth1 but I have no
> idea what!

> If your wondering, eth0 works fine and dandy, pinging out, browsing the web,
> etc...  Just eth1 that is seriously confusing!

> Any ideas / suggestions?

Post the output of "ifconfig" and "route -n" from the client and the
gateway.

        Trygve.

 
 
 

Plz Help! DHCP Router Networking issues!

Post by Sean Coyl » Mon, 18 Feb 2002 21:22:56


Quote:> Post the output of "ifconfig" and "route -n" from the client and the
> gateway.

Output of ifconfig (gateway):

eth0    Link encap: Ethernet HWaddr 00:02:E0:B4A0
        inet addr:24.83.222.102 Bcast:24.83.222.255 Mask:255.255.255.0
        UP BROADCAST RUNNING    NTU:1500    METRIC:1
        RX packets:44 errors:0 dropped:0 overruns:0 frame:2
        TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:100
        Interrupt:14 Base address:0x1000

eth1    Link encap:Ethernet Hwaddr 00:40:95:4A:60:A5
        inet addr: 192.168.0.1 Bcast:192.168.0.31 Mask:255.255.255.224
        UP BROADCAST RUNNING MULTICAST  MTU:1500    METRIC:1
        RX packets:13 errors:0 dropped:0 overruns:0 frame:0
        TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:100
        interupt:25 Base address:0x400

lo      Link encap:Local Loopback
        inet addr:127.0.0.1 Mask:255.0.0.0
        UP LOOPBACK RUNNING     MTU:3924    Metric:1
        RX packets:1 errors:0 dropped:0 overruns:0 frame:0
        TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:0

Output of route -n  (gateway)
Kernel IP routing table
Destination     Gateway     Genmask         Flags   Metric  Ref Use Iface
255.255.255.255 0.0.0.0     255.255.255.255 UH      0       0   0   eth1
192.168.0.0     0.0.0.0     255.255.255.224 U       0       0   0   eth1
24.83.222.0     0.0.0.0     255.255.255.0   U       0       0   0   eth0
127.0.0.0       0.0.0.0     255.0           U       0       0   0   lo
0.0.0.0         24.83.222.1 0.0.0.0         UG      0       0   0   eth0

Output of ifconfig -d en0 (for the client machine (Mac OS X box))
en0: flags=8863<UP,BROADCAST,b6,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.0.2 netmask 0xffffffe0 broadcast 192.168.0.31
        ether 00:05:02:93:70:ae
        media: autoselect (10baseT/UTP <half-duplex>) status: active
        supported media: none autoselect 10baseT/UTP <half-duplex>
10baseT/UTP <full-duplex> 100baseTX <half-duplex> 100baseTX <full-duplex>

Client not able to run command "route -n".

Any ideas?

Sean




>> Hey all,

>> This is probably going to be the first of a few questions, but I hope this
>> is the right place to get them answered.  BTW; thanks to all who read and/or
>> answered in advance!

>> Firstly, I have set up my dhcpd to operate correctly as far as I can tell,
>> it is handing out IP's seemingly correctly, but if I try from any client

>> simply do not make it.  I sit about 3 feet away from the switch and I can
>> see the link lights going so I know the traffic is passing.  A quick tcpdump
>> on the client or server machine shows me the DHCP-C / DHCPD messages through
>> out the network assigning ip's.  BUT I can not ping the gateway from any
>> client machine!  Furthermore, I can not ping any client machine from the
>> gateway!

>> From the Linux box, I can browse the web (that part is working just fine),
>> and as I said above it is assigning IP's to the DHCP clients just fine.  I
>> checked the Ipchains output, and currently everything is allowed (thinking
>> that there might be a blockade on ICMP or something equally dumb).  Ipchains
>> in fact, shows no rules defined and everything is allowed currently.

>> I am running a small subnet of a Private class C net:

>> Network: 192.168.0.0
>> Gateway: 192.168.0.1
>> Broadcast: 192.168.0.31
>> Netmask: 255.255.255.224
>> (30 ip's available for lease on the subnet)

>> Gateway can ping itself.
>> eth1 = 192.168.0.1/27
>> If I do (from gateway) ping -I eth1 192.168.0.2 (client machine) I get an
>> error saying it can not find the host (Destination Host Unreachable).....
>> Odd because I am sitting right in front of it.  Tcpdump does not seem to be
>> helping very much either.

>> All this says to me that something is mis-configured with eth1 but I have no
>> idea what!

>> If your wondering, eth0 works fine and dandy, pinging out, browsing the web,
>> etc...  Just eth1 that is seriously confusing!

>> Any ideas / suggestions?

> Post the output of "ifconfig" and "route -n" from the client and the
> gateway.

> Trygve.

 
 
 

Plz Help! DHCP Router Networking issues!

Post by Sean Coyl » Tue, 19 Feb 2002 20:54:50


Quote:> Post the output of "ifconfig" and "route -n" from the client and the
> gateway.

Output of ifconfig (gateway):

eth0    Link encap: Ethernet HWaddr 00:02:E0:B4A0
        inet addr:24.83.222.102 Bcast:24.83.222.255 Mask:255.255.255.0
        UP BROADCAST RUNNING    NTU:1500    METRIC:1
        RX packets:44 errors:0 dropped:0 overruns:0 frame:2
        TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:100
        Interrupt:14 Base address:0x1000

eth1    Link encap:Ethernet Hwaddr 00:40:95:4A:60:A5
        inet addr: 192.168.0.1 Bcast:192.168.0.31 Mask:255.255.255.224
        UP BROADCAST RUNNING MULTICAST  MTU:1500    METRIC:1
        RX packets:13 errors:0 dropped:0 overruns:0 frame:0
        TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:100
        interupt:25 Base address:0x400

lo      Link encap:Local Loopback
        inet addr:127.0.0.1 Mask:255.0.0.0
        UP LOOPBACK RUNNING     MTU:3924    Metric:1
        RX packets:1 errors:0 dropped:0 overruns:0 frame:0
        TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:0

Output of route -n  (gateway)
Kernel IP routing table
Destination     Gateway     Genmask         Flags   Metric  Ref Use Iface
255.255.255.255 0.0.0.0     255.255.255.255 UH      0       0   0   eth1
192.168.0.0     0.0.0.0     255.255.255.224 U       0       0   0   eth1
24.83.222.0     0.0.0.0     255.255.255.0   U       0       0   0   eth0
127.0.0.0       0.0.0.0     255.0           U       0       0   0   lo
0.0.0.0         24.83.222.1 0.0.0.0         UG      0       0   0   eth0

Output of ifconfig -d en0 (for the client machine (Mac OS X box))
en0: flags=8863<UP,BROADCAST,b6,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.0.2 netmask 0xffffffe0 broadcast 192.168.0.31
        ether 00:05:02:93:70:ae
        media: autoselect (10baseT/UTP <half-duplex>) status: active
        supported media: none autoselect 10baseT/UTP <half-duplex>
10baseT/UTP <full-duplex> 100baseTX <half-duplex> 100baseTX <full-duplex>

Client not able to run command "route -n".

Any ideas?

Sean




>> Hey all,

>> This is probably going to be the first of a few questions, but I hope this
>> is the right place to get them answered.  BTW; thanks to all who read and/or
>> answered in advance!

>> Firstly, I have set up my dhcpd to operate correctly as far as I can tell,
>> it is handing out IP's seemingly correctly, but if I try from any client

>> simply do not make it.  I sit about 3 feet away from the switch and I can
>> see the link lights going so I know the traffic is passing.  A quick tcpdump
>> on the client or server machine shows me the DHCP-C / DHCPD messages through
>> out the network assigning ip's.  BUT I can not ping the gateway from any
>> client machine!  Furthermore, I can not ping any client machine from the
>> gateway!

>> From the Linux box, I can browse the web (that part is working just fine),
>> and as I said above it is assigning IP's to the DHCP clients just fine.  I
>> checked the Ipchains output, and currently everything is allowed (thinking
>> that there might be a blockade on ICMP or something equally dumb).  Ipchains
>> in fact, shows no rules defined and everything is allowed currently.

>> I am running a small subnet of a Private class C net:

>> Network: 192.168.0.0
>> Gateway: 192.168.0.1
>> Broadcast: 192.168.0.31
>> Netmask: 255.255.255.224
>> (30 ip's available for lease on the subnet)

>> Gateway can ping itself.
>> eth1 = 192.168.0.1/27
>> If I do (from gateway) ping -I eth1 192.168.0.2 (client machine) I get an
>> error saying it can not find the host (Destination Host Unreachable).....
>> Odd because I am sitting right in front of it.  Tcpdump does not seem to be
>> helping very much either.

>> All this says to me that something is mis-configured with eth1 but I have no
>> idea what!

>> If your wondering, eth0 works fine and dandy, pinging out, browsing the web,
>> etc...  Just eth1 that is seriously confusing!

>> Any ideas / suggestions?

> Post the output of "ifconfig" and "route -n" from the client and the
> gateway.

> Trygve.

 
 
 

Plz Help! DHCP Router Networking issues!

Post by Sean Coyl » Tue, 19 Feb 2002 21:56:42


In other news (and this part I really don't understand) when I run sniffit
with "-F eth1 -i" I can actually ping my gateway!!!!  Alas, when I stop
sniffit, the ability for me to ping my gateway goes with it.

THIS MAKES NO SENSE!!!  start sniffit, and my gateway can ping client and
vice versa.  Stop sniffit, and no one can ping anything.

Also, with sniffit running, I can ping the external ip of the gateway

Gateway = 192.168.0.1 = eth1
          24.83.220.202 = eth0

When I stop sniffit, I performed an strace on it, and here is a copy of my
output (abridged):

read(0, 0xfffde08, 1)                   = ? ERESTARTSYS (To be restarted)
--- SIGINT (Interrupt) ---
write(1, "Gracefull shutdown...\n\33[39;49m\33["...,38) = 38
ioctl(1, TCSETSW, 0x7fffda18)           = 0
kill(896, SIGKILL)                      = 0
shmdt(0)                                = 0
close(3)                                = 0
socket(PF_INET, SOCK_PACKET, 0x3 /* IPPROTO_??? */) = 3
Ioctl(3, SIOSIFFLAGS, 0x1001f5b8)       = 0
exit(0)                                 = ?

Does this make any sense to anyone else out there?  Please tell me that
someone out there knows what's going on....

Cheers,

Sean

Quote:> Post the output of "ifconfig" and "route -n" from the client and the
> gateway.

Output of ifconfig (gateway):

eth0    Link encap: Ethernet HWaddr 00:02:E0:B4A0
        inet addr:24.83.222.102 Bcast:24.83.222.255 Mask:255.255.255.0
        UP BROADCAST RUNNING    NTU:1500    METRIC:1
        RX packets:44 errors:0 dropped:0 overruns:0 frame:2
        TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:100
        Interrupt:14 Base address:0x1000

eth1    Link encap:Ethernet Hwaddr 00:40:95:4A:60:A5
        inet addr: 192.168.0.1 Bcast:192.168.0.31 Mask:255.255.255.224
        UP BROADCAST RUNNING MULTICAST  MTU:1500    METRIC:1
        RX packets:13 errors:0 dropped:0 overruns:0 frame:0
        TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:100
        interupt:25 Base address:0x400

lo      Link encap:Local Loopback
        inet addr:127.0.0.1 Mask:255.0.0.0
        UP LOOPBACK RUNNING     MTU:3924    Metric:1
        RX packets:1 errors:0 dropped:0 overruns:0 frame:0
        TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:0

Output of route -n  (gateway)
Kernel IP routing table
Destination     Gateway     Genmask         Flags   Metric  Ref Use Iface
255.255.255.255 0.0.0.0     255.255.255.255 UH      0       0   0   eth1
192.168.0.0     0.0.0.0     255.255.255.224 U       0       0   0   eth1
24.83.222.0     0.0.0.0     255.255.255.0   U       0       0   0   eth0
127.0.0.0       0.0.0.0     255.0           U       0       0   0   lo
0.0.0.0         24.83.222.1 0.0.0.0         UG      0       0   0   eth0

Output of ifconfig -d en0 (for the client machine (Mac OS X box))
en0: flags=8863<UP,BROADCAST,b6,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.0.2 netmask 0xffffffe0 broadcast 192.168.0.31
        ether 00:05:02:93:70:ae
        media: autoselect (10baseT/UTP <half-duplex>) status: active
        supported media: none autoselect 10baseT/UTP <half-duplex>
10baseT/UTP <full-duplex> 100baseTX <half-duplex> 100baseTX <full-duplex>

Client not able to run command "route -n".

Any ideas?

Sean




>> Hey all,

>> This is probably going to be the first of a few questions, but I hope this
>> is the right place to get them answered.  BTW; thanks to all who read and/or
>> answered in advance!

>> Firstly, I have set up my dhcpd to operate correctly as far as I can tell,
>> it is handing out IP's seemingly correctly, but if I try from any client

>> simply do not make it.  I sit about 3 feet away from the switch and I can
>> see the link lights going so I know the traffic is passing.  A quick tcpdump
>> on the client or server machine shows me the DHCP-C / DHCPD messages through
>> out the network assigning ip's.  BUT I can not ping the gateway from any
>> client machine!  Furthermore, I can not ping any client machine from the
>> gateway!

>> From the Linux box, I can browse the web (that part is working just fine),
>> and as I said above it is assigning IP's to the DHCP clients just fine.  I
>> checked the Ipchains output, and currently everything is allowed (thinking
>> that there might be a blockade on ICMP or something equally dumb).  Ipchains
>> in fact, shows no rules defined and everything is allowed currently.

>> I am running a small subnet of a Private class C net:

>> Network: 192.168.0.0
>> Gateway: 192.168.0.1
>> Broadcast: 192.168.0.31
>> Netmask: 255.255.255.224
>> (30 ip's available for lease on the subnet)

>> Gateway can ping itself.
>> eth1 = 192.168.0.1/27
>> If I do (from gateway) ping -I eth1 192.168.0.2 (client machine) I get an
>> error saying it can not find the host (Destination Host Unreachable).....
>> Odd because I am sitting right in front of it.  Tcpdump does not seem to be
>> helping very much either.

>> All this says to me that something is mis-configured with eth1 but I have no
>> idea what!

>> If your wondering, eth0 works fine and dandy, pinging out, browsing the web,
>> etc...  Just eth1 that is seriously confusing!

>> Any ideas / suggestions?

> Post the output of "ifconfig" and "route -n" from the client and the
> gateway.

> Trygve.

 
 
 

1. plz plz plz help.

it seems that i cannot get my eth0 to come up on my laptop. after reviewing
the boot log i can see that my pcmcia services are working fine and the
correct driver is installed

here is a snip of the boot log

Dec 28 16:11:03 c1319937-a pcmcia: Starting PCMCIA services:
Dec 28 16:11:03 c1319937-a pcmcia:  modules
Dec 28 16:11:03 c1319937-a kernel: Linux PCMCIA Card Services 3.1.19
Dec 28 16:11:03 c1319937-a kernel:   kernel build: 2.2.16-22 #1 Tue Aug 22
16:49:06 EDT 2000
Dec 28 16:11:03 c1319937-a kernel:   options:  [pci] [cardbus] [apm]
Dec 28 16:11:03 c1319937-a kernel: PCI routing table version 1.0 at 0xfbda0
Dec 28 16:11:03 c1319937-a kernel:   00:03.0 -> irq 11
Dec 28 16:11:03 c1319937-a kernel:   00:03.1 -> irq 11
Dec 28 16:11:03 c1319937-a kernel: Intel PCIC probe:
Dec 28 16:11:03 c1319937-a kernel:   TI 1225 rev 01 PCI-to-CardBus at slot
00:03, mem 0x68000000
Dec 28 16:11:03 c1319937-a kernel:     host opts [0]: [ring] [serial pci &
irq] [pci irq 11] [lat 32/32] [bus 32/34]
Dec 28 16:11:03 c1319937-a kernel:     host opts [1]: [ring] [serial pci &
irq] [pci irq 11] [lat 32/32] [bus 35/37]
Dec 28 16:11:03 c1319937-a kernel:     ISA irqs (scanned) = 3,4,7,9,10 PCI
status changes
Dec 28 16:11:03 c1319937-a pcmcia:  cardmgr.
Dec 28 16:11:03 c1319937-a rc: Starting pcmcia:  succeeded
Dec 28 16:11:03 c1319937-a cardmgr[468]: starting, version is 3.1.19
Dec 28 16:11:04 c1319937-a cardmgr[468]: watching 2 sockets
Dec 28 16:11:04 c1319937-a kernel: cs: IO port probe 0x0c00-0x0cff:
excluding 0xcf8-0xcff
Dec 28 16:11:04 c1319937-a kernel: cs: IO port probe 0x0800-0x08ff:
excluding 0x800-0x84f
Dec 28 16:11:04 c1319937-a kernel: cs: IO port probe 0x0100-0x04ff:
excluding 0x280-0x287 0x378-0x37f 0x4d0-0x4d7
Dec 28 16:11:04 c1319937-a kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Dec 28 16:11:04 c1319937-a cardmgr[468]: initializing socket 0
Dec 28 16:11:04 c1319937-a kernel: cs: memory probe 0xa0000000-0xa0ffffff:
clean.
Dec 28 16:11:04 c1319937-a cardmgr[468]: socket 0: 3Com 589 Ethernet
Dec 28 16:11:04 c1319937-a cardmgr[468]: executing: 'modprobe 3c589_cs'
Dec 28 16:11:04 c1319937-a kernel: eth0: 3Com 3c589, io 0x300, irq 3,
hw_addr 00:60:97:CC:CA:9A
Dec 28 16:11:04 c1319937-a kernel:   8K FIFO split 5:3 Rx:Tx, auto xcvr
Dec 28 16:11:04 c1319937-a cardmgr[468]: executing: './network start eth0'
Dec 28 16:11:05 c1319937-a checkpc[480]: Get_local_host: hostname
'c1319937-a.grlnd1.tx.home.com' bad
Dec 28 16:11:05 c1319937-a pumpd[509]: starting at (uptime 0 days, 0:00:41)
Thu Dec 28 16:11:05 2000
Dec 28 16:11:05 c1319937-a lpd[514]: Get_local_host: hostname
'c1319937-a.grlnd1.tx.home.com' bad
Dec 28 16:11:05 c1319937-a lpd: 2000-12-28-16:11:05.467 Get_local_host:
hostname 'c1319937-a.grlnd1.tx.home.com' bad

plz help me with this prob.
many thanks.

2. Broken xterm menus

3. Need networking help RH 6.2, Linksys BEFSR41, DHCP issues

4. sendmail is screwing with my Reply-to: field

5. linksys router and linux help! plz

6. rpc.lockd on AIX 3.2.5

7. PLZ Help: set-up of ethernet card 3COM509B with DHCP (SUSE 5.3)

8. UNIQ question

9. SCO and DHCP help plz

10. PLZ Help: set-up of ethernet card 3COM509B with DHCP (SUSE 5.3)

11. Frustrating Network Issue - Redhat 7.0, Linksys Router and NJ Road Runner Cable

12. ICMP Issue (DHCP Internal network)

13. Sparc Classic DHCP / Networking Issue