Announcement

Collapse
No announcement yet.

Dhclient running on eth1... how to stop?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Dhclient running on eth1... how to stop?

    Ok, just changed my DSL provider... and while I could set it up so it'd be the gateway for everything... I already have my webserver set up better... the problem is, the DSL gateway puts out a 192.168.0.1 address and is a dhcp server. I can turn that off, without problems and just put my webserver at 192.168.0.x. But the eth1 on my webserver routes everything out of eth1 (set to 192.168.1.1) in theory that should work great. Problem is, just now, it decided to run dhclient on eth1 and it set my IP address to 192.168.1.25... since my DHCP server there is putting out IP's to anything connected to 192.168.1.1 it kills my net connection if it's changed...

    So the question is, is there a way (I'm using Debian Unstable) to make dhclient work on ONLY eth0?

    I'd look it up on google (well, in fact I did) but I figured people who post on here would know much faster... I'll look more though...

    Leech
    Wah! Wah!

    In a perfect world... spammers would get caught, go to jail, and share a cell with many men who have enlarged their penises, taken Viagra and are looking for a new relationship.

  • #2
    Uhm, I'm not quite sure what you mean, but dhclient take several arguments when started, one of them is the interface it should be using. So, look up dhclient in your initscripts and add eth0 to the command.

    Comment


    • #3
      I'm not familiar with debian, but I found this page that describes the config files for several different
      types of linux, including Debian

      How to config Linux TCPIP config files

      Hope this helps!

      - Wx

      Comment

      Working...
      X