Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- etc/dhcp/dhcpd.conf
- #ddns-update-style none;
- default-lease-time 600;
- max-lease-time 2400;
- option subnet-mask 255.255.255.0;
- option broadcast-address 10.10.1.255;
- option routers 10.10.1.254;
- option domain-name-servers 10.10.1.1, 10.10.1.2;
- option domain-name "serverlan.domain";
- subnet 10.10.1.0 netmask 255.255.255.0 {
- range 10.10.1.11 10.10.1.200;
- }
- ====
- etc/network/interfaces
- #the loopback network interface
- auto lo
- iface lo inet loopback
- #the primary network interface (facing the iweb)
- auto eth1
- iface eth1 inet dhcp
- #seconday network card (facing the lan)
- auto eth0
- iface eth0 inet static
- address 10.10.1.1
- netmask 255.255.255.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement