Re: cable modem and LAN
On Wed, Mar 29, 2000 at 10:33:13PM -0900, Ethan Benson wrote:
> why are you trying to use dhcp for a small private lan? just enter
> static ip addresses into all the machines that are behind the linux
> firewall. use the 192.168.0.* range. dhcp is more trouble then its
> worth for just a couple machines...
I originally thought that using dhcp would be simpler. Anyway, I went
ahead and entered 192.168.0.2 as my roommate's IP address and rebooted his
computer. But I still can't even ping my linux box (ping 198.168.0.1)
from my roommate's windows box (the ping times out).
So I'm guessing that I don't have my interface setup correctly.
Here's what ifconfig reports for my NIC that goes into the switch:
eth1 Link encap:Ethernet HWaddr 00:A0:CC:5B:DD:F8
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:10 Base address:0xf800
...and the output of route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
jakarta.gw.uiuc * 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
default jakarta.gw.uiuc 0.0.0.0 UG 0 0 0 ppp0
Thanks again,
Matt
--
Matt Garman, garman@ews.uiuc.edu
"I was just reading the interview with Korn in _Guitar_World_, and one of
the guitarists said they don't play guitar solos because they've been
done. Well, I guess that's true if you stick with what's been done.
But you have to look beyond that; there's a lot more left to say on the
guitar." -- Warren Haynes of Gov't Mule
Reply to: