Find the answer to your Linux question:
Results 1 to 2 of 2
Hello! My problem: I have 2 networks 192.168.1.0 / 255.255.255.0 and 192.168.2.0 / 255.255.255.0 1) My router which provides internet and DHCP is 192.168.1.1 2) My server, which provides DHCP ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2009
    Posts
    12

    alternative dhcp + squid


    Hello!

    My problem:

    I have 2 networks
    192.168.1.0 / 255.255.255.0 and 192.168.2.0 / 255.255.255.0

    1) My router which provides internet and DHCP is
    192.168.1.1
    2) My server, which provides DHCP too and filters with squid is
    192.168.1.254 and 192.168.2.254 (2 interfaces)


    In the server's dhcp, i uncomented the AUTHORITATIVE policy, so it acts as master, over the 192.168.1.1

    Now the problem is:
    When i set up the lan, i connected both server's interfaces to the same switch where the other pc's connect, with the idea in mind that if the server falls, the pc's can reboot, and the router can assign another IP, and skip the squid filter.


    But im not able to configure the server's DHCP to deliver addresses in the 192.168.1.0 net as default, so any pc that connects get either an IP from the router, or from the 192.168.2 range...

    any tip??

    i edited /etc/defaults/dhcp3 and added interfaces="eth0 eth1"

  2. #2
    Just Joined!
    Join Date
    Jan 2009
    Posts
    12
    i attach a file to ilustrate
    Attached Images Attached Images

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •