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
220.127.116.11 = eth0
When I stop sniffit, I performed an strace on it, and here is a copy of my
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....
Quote:> Post the output of "ifconfig" and "route -n" from the client and the
Output of ifconfig (gateway):
eth0 Link encap: Ethernet HWaddr 00:02:E0:B4A0
inet addr:18.104.22.168 Bcast:22.214.171.124 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
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
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
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
126.96.36.199 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 188.8.131.52 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
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".
>> 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
>> 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