Guest clown Posted April 17, 2003 Report Share Posted April 17, 2003 I know for most, this is a easy question. I have a "simple" network for two computers. One comp. is running MDK 8.1 and the other is running Win98. I had configured the networking portion several months ago and have been sharing files and printers. My MDK 8.1 box has eth0 using protocol "static" with an ip of 192.168.0.1. The Win98 box is set with ip 192.168.0.2. Now, on my MDK 8.1 box, I have cable internet hooked to eth1, with a protocol of "dhcp". I ran the wizard to share the connection and it appeared to be set. Let me add another wrinkle to this setup. On the MDK 8.1 box, I also have Win98 installed. I installed Wingate to share the connection there and it works. However, I had to change the other Win98 box to "automatically obtain an ip". I'm guessing this will cause problems with my MDK 8.1 and the Win98 sharing portion. Should I change the MDK8.1 eth0 to protocol "dhcp" to make this work? Or is there a different and better way? System specs: MDK 8.1/Win98 box. AMD 1.1 ghz, 256 ram, two nic's, eth0 for the lan and eth1 for cable internet. Other Win98 box: 500 mhz, 256 ram, one nic for lan. Thanks clown Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted April 17, 2003 Report Share Posted April 17, 2003 This is how mine is set up. Same simple 2 computer network with the Linux box being dual boot Win2k/mdk 8.1 and the one running the dhcp server: /etc/sysconfig/network-scripts/ifcfg-eth0: DEVICE=eth0 IPADDR=192.168.0.1 NETMASK=255.255.255.0 NETWORK=192.168.0.0 BROADCAST=192.168.0.255 ONBOOT=yes /etc/dhcpd.conf: # dhcpd.conf # # Sample configuration file for ISC dhcpd # ddns-update-style none; option broadcast-address 192.168.0.255; option subnet-mask 255.255.255.0; option netbios-name-servers 192.168.0.1; option routers 192.168.0.1; option domain-name "omarserenity.home"; option ip-forwarding on; # option definitions common to all supported networks... option domain-name "omarserenity.home"; option domain-name-servers 205.171.3.65, 205.171.24.251; default-lease-time 1600; max-lease-time 7200; # If this DHCP server is the official DHCP server for the local # network, the authoritative directive should be uncommented. authoritative; # Use this to send dhcp log messages to a different log file (you also # have to hack syslog.conf to complete the redirection). log-facility local7; # No service will be given on this subnet, but declaring it helps the # DHCP server to understand the network topology. subnet 192.168.0.0 netmask 255.255.255.0 { option subnet-mask 255.255.255.0; option broadcast-address 192.168.0.255; option routers 192.168.0.1; option domain-name "omarserenity.home"; option ip-forwarding on; } host laluna { hardware ethernet 00:20:78:F0:2A:25; fixed-address 192.168.0.2; option broadcast-address 192.168.0.255; option routers 192.168.0.1; option domain-name "omarserenity.home"; option ip-forwarding on; } Note, that laluna is the name of my other box that shares the connection and the dns servers listed are *my* ISPs dns servers. Edit: alot of what is in mine is redundant...notice that alot of the global options also appear in the 'host laluna' setup, so therefore, I really don't need them in the global settings probably. Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted April 17, 2003 Report Share Posted April 17, 2003 You'll also notice that I don't have a protocol set in my ifcfg-eth0 file. Quote Link to comment Share on other sites More sharing options...
Guest clown Posted April 21, 2003 Report Share Posted April 21, 2003 Thanks for the reply. Now that I have cable, I'm going to d/l MDK 9.1 and do a fresh install. Then reset everything. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.