10-08-2008 11:30 AM - edited 03-03-2019 11:50 PM
Forgive my ignorance I'm new to this. I have just added a VLAN to our network. I can connect to this VLAN but cannot acquire an IP. How are IP's assigned in a VLAN setup?
10-08-2008 11:56 AM
You will need , "ip helper-address
Directs the broadcast request as unicast to dhcp server.
For example:
interface Vlan112
ip address 192.168.112.7 255.255.255.0
ip helper-address 192.168.100.6
HTH
Saju
Pls rate helpful posts
10-08-2008 01:23 PM
Jay
No need to apologize, that is what NetPro is for.
There are basically 2 ways to assign IP address to devices within a vlan
Note - usually there is a one-to-one relationship between a vlan and an IP subnet.
1) Assign them manually on each end device which is time consuming but for things like servers is generally what you do.
2) Assign them dynamically as Saju has covered in his post. You set up an IP subnet within a DHCP server and the DHCP server hands out IP addresses within the subnet to devices. Generally DHCP is used for client workstations/laptops.
Jon
10-08-2008 08:26 PM
Additionally, if you want to use PXE-boot with DHCP on those VLANs:
We needed to add another line since our PXE server has a different address:
int vlan x
ip address <>
ip helper-address
ip helper-address
ip directed-broadcast
end
access-list
ip forward-protocol udp 402
* 402 might be incorrect for other PXE implementations. This was for Altiris
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide