A Personal Blog
Redhat – WinXP networking
It’s been fun. I spent the weekend trying to setup a network in my home. Though I have plenty of systems administration experience, I have actually never setup a network myself. It was quite interesting and it’s still not the way I want it. My firewall machine is a dual-boot Windows XP Pro and Redhat 9 machine. From there I go into an auto sensing switch which connects 4 ports. Currently, I only have a Redhat9 dev server and my Playstation 2 (w00t!) connected. It wqrks, but not how I envisioned it. Please tell me if you have ideas.
Because my firewall box is a dual boot I need a similar solution for both platforms. When another connection is made on the LAN, I want it setup automatically without having to go configure IP’s and subnet’s etc.
Main Box
Internet connection – Cable, DHCP.
LAN connection – 192.168.0.1/255.255.255.0
Other Connections
manually setup
192.168.0.0 subnet (.10,.11)
DNS – manually setup to Comcast DNS
Gateway – 192.168.0.1
So, how do I plug -n- play so my other connections don’t have to be manually configured? Do I need to setup a DHCP server on my main box? If so, recommendations on Windows server software and also Redhat server software?
| Print article | This entry was posted by Jeremy Wright on June 23, 2003 at 12:47 pm, and is filed under IT Thoughts. Follow any responses to this post through RSS 2.0. Responses are currently closed, but you can trackback from your own site. |
Comments are closed.
about 8 years ago
You will need to setup DHCP somewhere, not necessarily on the main box. If you have a scrap PC that can run Windows 2000 Server, you can setup a very simple DHCP scope for your home network. Plug this PC into the switch and you should be good. What type of switch do you have? Can it hand out IPs? HTH.
about 8 years ago
Hey mate, thanks!
I have this switch – Linksys EZX55W. It is incapable of handing out IP’s. IT cost me $40 at Best Buy and I regret not paying $30 more for a normal router…
I don’t have a Win2k box. I don’t have a Win2k license or I could find a box. Best I could possibly do with the hardware I have is Win98 or another RH server.
about 8 years ago
Yeah, DHCP can be run from anywhere. The only config you’d do is tell each machine where the DHCP server is (same as always), and be done with it. DHCP’s pretty simple and I’d be surprised if it wasn’t built into RH :)
J
about 8 years ago
yeah…but how? How do I setup a DHCP server in XP Pro? How do I set it up in RH9? :) See my quandry? If I can get the DHCP server running I can figure out the rest.
Aaron
about 8 years ago
I would be half surprised, but half not, if XP Pro let you do DHCP. I’d be very surprised if RH didn’t. Really, no clue either way mate, I’m not an NA. All I’d do is a search for Google: http://www.google.com/search?sourceid=navclient&ie=UTF-8&oe=UTF-8&q=%22windows+xp%22+%22dhcp+server%22
about 8 years ago
DHCP on RH9… Theoretically, you just need to modify /etc/dhcpd.conf and start the service.
Regarding XP, you can setup internet connetion sharing. You’ll just need an extra NIC in that PC. Consult XP’s Help files. They were simple to follow.
Good luck!
about 8 years ago
Jeremy,
Googled all night it seemed. Found all kinds of ways to call a DHCP but very few definitive ways on setting up the server. Thanks though, I’ll look at the link.
Mr Norton, yeah I have 2 NIC’s in their. One goes to the net, the other to the LAN. I also looked at RH’s documentation and modified that file, but it seemed like it was still kicking and screaming – “No device specified for listening”…:\
about 8 years ago
Could you email your dhcpd.conf to me? I’d like to take a look at it.
about 8 years ago
Oh! Did you add the interface to /etc/sysconfig/dhcpd? Add the name of the int to DHCPDARGS so RH knows which NIC to listen with.
about 8 years ago
I’ll email it to you when I get home. It’ll be a bit, I’m still at work.
yes, I added eth1 to the /etc/sysconfig/dhcpd file. I did not add eth0 because that is the Comcast connection.
Aaron
about 8 years ago
The IP address for your LAN connection and the IP addresses in your dhcpd.conf are not on the same subnet. Change the LAN IP to 192.168.1.1 and see if that helps.
about 8 years ago
go buy a router save yourself the headache, unless your just playing around “learning” other wise
about 8 years ago
What are you going to do for firewall? With that switch anyone can get to your systems from the net. Cut your losses, forget trying to config Linux for DHCP, buy a router, plug it in and you are done. DHCP will be enabled by default and you won’t have to change any settings.
about 8 years ago
Oh, sorry for my stupidity about what you will use for your firewall between the net and your network. If I understand your plan correctly, then you will need to route across those two interfaces, and in both operating systems if you want to use either. That adds even further fun. If you are just fooling around and time is of no meaning, continue on your course. But using a dual boot XP/Linux box for routing, DHCP, and Firewall when a $60 box will do it all? Whew – you are a glutton for punishment my man…