• Welcome to Valhalla Legends Archive.
 

Static IP with Windows DNS server?

Started by Joe[x86], June 19, 2007, 02:25 AM

Previous topic - Next topic

Joe[x86]

I'm running Ubuntu Linux, Dapper Drake on one machine, and Windows XP Pro on another machine. Currently, the Windows machine is routing connections, however very soon I'm getting broadband and an actual router will be doing this. For the time being, is there any simple way to make the Windows machine give the Linux machine a static IP address? Re-configuring my port routing rules every time a machine reboots or does something funny is a royal pain.
Quote from: brew on April 25, 2007, 07:33 PM
that made me feel like a total idiot. this entire thing was useless.

Barabajagal

You should be able to set the windows machine not to give the Linux machine an IP at all, and then set the IP of the Linux machine manually instead. How are you routing it, though? ICS?

Joe[x86]

Yeah, ICS.

Setting the Linux box up with a static IP is easy. The hard part is making sure Windows can still see it.

Right now I'm fixing a neat little dist-upgrade fuckup I made (I upgrade'd instead of dist-upgrade, big boo-boo) so I can't try it, though.
Quote from: brew on April 25, 2007, 07:33 PM
that made me feel like a total idiot. this entire thing was useless.

Joe[x86]

Quote from: brew on April 25, 2007, 07:33 PM
that made me feel like a total idiot. this entire thing was useless.

Kp

If your Linux machine has two NICs, you could just make it be the routing device instead of buying a dedicated one (assuming you don't have some more complex goal in mind than to stop using XP for routing).  You'll need the iptables package, a DHCP daemon, and Netfilter support in your kernel.  There are plenty of "for newbies" guides to getting this going, and it is quite quick to configure once you understand the principles.  Hit up your favorite Linux forums if you need help configuring it.  It is a pretty common configuration, so there are lots of people to guide you.
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!