cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
365
Views
0
Helpful
3
Replies

Simple VLAN question

j.leach
Level 1
Level 1

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?

3 Replies 3

singhsaju
Level 4
Level 4

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

Jon Marshall
Hall of Fame
Hall of Fame

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

franklinb
Level 1
Level 1

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 permit udp host any eq 402

ip forward-protocol udp 402

* 402 might be incorrect for other PXE implementations. This was for Altiris

Review Cisco Networking for a $25 gift card