03-20-2006
hello,
create 3 subnets, specify each default gateway.
configure your switchports belong to what vlan.
configure the router to be dhcp relay agent - specify the dhcp server.
done.
ps:
if you dont have vlan capable NIC/router - then you should forget it.
vlan is not an NIC with multiple IPAddr in it.
cheers...
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need to setup a DHCP server in our office for Macs, Windows (98/ME/NT/2000) Linux and Unix servers and workstations. We want it on a Unix server, but I'm unsure what is out there. The Unix world is new to me, so any suggestions would be appreciated.
Thanks!
Corey (2 Replies)
Discussion started by: coreyhead
2 Replies
2. UNIX for Advanced & Expert Users
hi all,
In dhcp client , how to specify no of retiral attempts for getting IP ?
man dhclient.conf - has rery timeout but i m looking for attempts
Also option nwip.autoretries uint8; - i guess this is for dhcpd server
I basically want to expire after the first attempt.
Any... (1 Reply)
Discussion started by: ramchan10
1 Replies
3. IP Networking
Hi.
I want to use the DHCP server that comes with vxWorks 6.4.
The DHCP server implementation has a table that contains addresses of DHCP servers that will receive a copy of all the client requests that the local server gets, thus the server acts as a dhcp relay at the same time.
Can anyone... (4 Replies)
Discussion started by: tomwolf
4 Replies
4. Debian
Hi ,
when i configure my server with a fixed ip address in dhcpd.conf as below
subnet 172.21.151.0 netmask 255.255.255.0 {
range 172.21.151.66 172.21.151.66;
}
host switch {
hardware ethernet 00:05:30:02:DB:31;
fixed-address 172.21.151.66;
}
when i start dhcpd server , it... (2 Replies)
Discussion started by: Gopi Krishna P
2 Replies
5. Solaris
Dears,
my question
is that possible to configure any server to work in solaris zone
i mean any server
cos i read that DHCP can't be work on solaris zone
is that real or not
Best Regards
Alexander Corvinus (4 Replies)
Discussion started by: corvinusbsd
4 Replies
6. IP Networking
Hi,
We currently operate a DHCP Server on Vxworks system.
It seems that the server is functioning only over the boot interface.
While trying to use it on a different interface the DHCP client messages seems to reach the interface but stay without response.
From a... (1 Reply)
Discussion started by: zohara
1 Replies
7. Red Hat
Where can you find your DHCP Server address? I checked all of the files that this mentioned with no luck.
Quick HOWTO : Ch08 : Configuring the DHCP Server - Linux Home Networking (6 Replies)
Discussion started by: cokedude
6 Replies
8. IP Networking
I need a script to scan the surrounding DHCP servers. I want to know how many dhcp servers are there on my connected etnernet. (2 Replies)
Discussion started by: getrue
2 Replies
9. Solaris
I need to find out the MAC address of an IP leased from DHCP server .
For Eg:-i need to know the MAC of the below mentioned IP at the below mentioned time .
IP : 172.16.28.90
Date :Sunday July 2nd 2011
Time : 14.07.2011
OS -Solaris 10
Vital QIP IP management software using to... (0 Replies)
Discussion started by: sandeep.tk
0 Replies
10. Ubuntu
Hello.
Doing my first steps in Linux and while trying to configure a DHCP server in Linux i encountered some problems:
TOPOLOGY:
- Laptop with Windows 8.1
- VM Player 12 with Linux installed (Ubuntu Server 14.04)
- ICS-DHCP-SERVER installed and running
- Another LAPTOP conected to a... (1 Reply)
Discussion started by: Portuguevos
1 Replies
LEARN ABOUT DEBIAN
vlan-interfaces
VLAN-INTERFACES(5) File formats VLAN-INTERFACES(5)
NAME
/etc/network/interfaces (vlan) - vlan extensions for the interfaces(5) file format
DESCRIPTION
/etc/network/interfaces contains network interface configuration information for the ifup(8) and ifdown(8) commands. This manpage
describes the vlan extensions to the standard interfaces(5) file format.
Primary extensions exist to make and destroy vlan interfaces, secondary extensions exist for ipv4 interface manipulation which are gener-
ally needed when using (a lot of) vlans.
VLAN CREATION
Vlan interface definitions exist of the vlan interface name, and an optional 'raw-device' parameter. Vlan interfaces are numbered 1 to
4095. You have the option to have interface names zero-padded to 4 numbers, or just the plain digits without leading zero. The following
example shows four ways to create a vlan with id 1 on interface eth0. They all result in different names.
iface eth0.1 inet static
address 192.168.1.1
netmask 255.255.255.0
iface vlan1 inet static
vlan-raw-device eth0
address 192.168.1.1
netmask 255.255.255.0
iface eth0.0001 inet static
address 192.168.1.1
netmask 255.255.255.0
iface vlan0001 inet static
vlan-raw-device eth0
address 192.168.1.1
netmask 255.255.255.0
# We don't have br support out of the box
iface br0.2 inet static
vlan-raw-device br0
address 192.168.1.1
netmask 255.255.255.0
# Aliases are ignored
iface br0.2:1 inet static
address 192.168.1.1
netmask 255.255.255.255
EXTRA IFACE OPTIONS
Usually someone who uses vlans also wants to do some other manipulations with the ip stack or interface.
vlan-raw-device devicename
Indicates the device to create the vlan on. This is ignored when the devicename is part of the vlan interface name.
ip-proxy-arp 0|1
Turn proxy-arp off or on for this specific interface. This also works on plain ethernet like devices.
ip-rp-filter 0|1|2
Set the return path filter for this specific interface. This also works on plain ethernet like devices.
hw-mac-address mac-address
This sets the mac address of the interface before bringing it up. This works on any device that allows setting the hardware address
with the ip command.
AUTHOR
This manpage was adapted from interfaces(5) by Ard van Breemen <ard@kwaak.net>
SEE ALSO
vconfig(8) interfaces(5)
vlan September 30 2007 VLAN-INTERFACES(5)