Hot Downloads



The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: How to segment DHCP by Vlan

How to segment DHCP by Vlan 13 years 6 months ago #9877

  • apit
  • apit's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 227
  • Thank you received: 0
i'm using fedora core 3 as my dhcp server(dhcpd.conf)
question is,how to segment all the ip by Vlan.
I'm using nortel baystack 450 24t switch and want to segment the all the ip to 3 vlan.

vlan1 = -
vlan2 = -
vlan3 = -

how should i configure it at my dhcpd.conf file?

ddns-update-style interim;

ignore client-updates;

subnet netmask {

# --- default gateway

option routers;

option subnet-mask;

option nis-domain "";

option domain-name "";

option domain-name-servers;

option time-offset -18000;

# Eastern Standard Time#

option ntp-servers;

# option netbios-name-servers;

# --- Selects point-to-point node (default is hybrid). Don't change this unless# -- you understand Netbios very well#

option netbios-node-type 2;

range dynamic-bootp;

default-lease-time 21600;

max-lease-time 43200; # we want the nameserver to appear at a fixed address

host ns { next-server; hardware ethernet 12:34:56:78:AB:CD;

fixed-address; }}

Re: How to segment DHCP by Vlan 13 years 6 months ago #9879

  • Chris
  • Chris's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1447
  • Karma: 8
  • Thank you received: 13

My understanding is that you would like to use your Fedora Core 3 DHCP server to hand out IP Addresses to all of your 3 VLANs;

If this is true, then there are 2 different ways I can think of:

1) Trunk link to your Linux network card using 802.1q tagging.

This requires you to setup a trunk link between your main switch and Linux DHCP server. Assuming your switch supports VLANs (and therefore Trunk and Access links), Linux fully supports trunking, so you've covered.

2) Install 3 network cards on your Linux system, configuring one card to each vlan and connecting them via an Access link to your switch. Each port of your switch will need to be assigned to one vlan.

Anyone else have any suggestions ?
Chris Partsenidis.
Founder & Editor-in-Chief

Re: How to segment DHCP by Vlan 13 years 6 months ago #10078

  • jwj
  • jwj's Avatar
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 350
  • Thank you received: 0
I'm certain those old Baystacks can do 802.1q trunks. Sounds like the best bet if you don't have a router.

Re: How to segment DHCP by Vlan 13 years 6 months ago #10096

  • DaLight
  • DaLight's Avatar
  • Offline
  • Honored Member
  • Honored Member
  • Posts: 1302
  • Karma: 1
  • Thank you received: 0
I love this site! When I originally read the first post in this thread and Chris' response I did not have a clue about what was going on. However after following this thread and that one it all makes sense now. Thanks jwj for resurrecting the thread and making me realise this.
  • Page:
  • 1
Time to create page: 0.108 seconds


Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V


  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup