ok, I did all that. I WAS lining up my XP box directly to my Slackware box, lol. Since nothing I had read said how to line things up I assumed that you could hook up two nics and they could talk to one another. I inserted a hub/switch. To be clear I lined up the Slackware box to the uplink in the hub and put the XP box on "X1". Now my XP box does not say the ethernet cable is unplugged.
Here is my ifconfig -a:
eth0 Link encap:Ethernet HWaddr 00:50:BA:D9:C3:89
inet addr:24.27.71.172 Bcast:255.255.255.255 Mask:255.255.240.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:44437 errors:0 dropped:0 overruns:0 frame:0
TX packets:1031 errors:0 dropped:0 overruns:0 carrier:0
collisions:54 txqueuelen:100
RX bytes:3107099 (2.9 Mb) TX bytes:156717 (153.0 Kb)
Interrupt:5 Base address:0xf000
eth1 Link encap:Ethernet HWaddr 00:60:08:27:82:3F
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST 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
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0x1040
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:96 errors:0 dropped:0 overruns:0 frame:0
TX packets:96 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5184 (5.0 Kb) TX bytes:5184 (5.0 Kb)
And my route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
255.255.255.255 * 255.255.255.255 UH 0 0 0 eth1
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
24.27.64.0 * 255.255.240.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 24.27.64.1 0.0.0.0 UG 0 0 0 eth0
I typed in "route add -host 255.255.255 dev eth1" because the guide on isc.org said all Windows clients need it. The XP box didn't work with or without it.
I wasn't sure what to put in for my "option.domain.server"...here is the contents of my resolv.conf:
nameserver 24.28.99.63
nameserver 24.28.99.64
nameserver 24.93.40.77
search houston.rr.com
I just used the first one. Here is my current dhcpd.conf:
#/etc/dhcpd.conf from
larry@linuxquestions.org 6/5/2004
default-lease-time 3600; # 24h
max-lease-time 86400; # 24h
ddns-update-style ad-hoc;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.150; #obviously the range of ips to use
option subnet-mask 255.255.255.0; #subnet mask to give to dhcp client
option broadcast-address 192.168.1.255; #broadcast address to give client
option routers 192.168.1.1; #this is your router (eth1 if you configure it like above)
option domain-name-servers 24.28.99.63; #uncomment this and add your isp's dns server
#option domain-name-servers 192.168.1.1; #unless your like me and have your own or have a second one
option domain-name "mydomain.com"; #this is the domainname that will be given out
}
Larry, you said there is an easier way than using DHCP, what do you mean? I'm game for easier. I just want to be able to see the internet on both my machines without buying a router.
I appreciate your help.
Thanks,
captain_bogus