Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DHCP and Switch Module 1

Status
Not open for further replies.

dszacik

MIS
Nov 8, 2004
23
US
I need a little help on getting a user attached to a port on a switch module in my router to get a DHCP config. Int f0/0 gets the DHCP config OK (with the f0/0 address in the default route), so I think its the way I have the switch module configured.

Config snippet:
no ip dhcp conflict logging
ip dhcp excluded address xx.xx.xx.33
ip dhcp excluded address xx.xx.xx.34
ip dhcp excluded address xx.xx.xx.35
ip dhcp excluded address xx.xx.xx.36

ip dhcp pool pool-name
import all
network xx.xx.xx.32 255.255.255.240
default router xx.xx.xx.46 (changed to .33 to test with f0/0)

interface f0/0
ip address xx.xx.xx.33

interface f0/1 (down with no IP)

interface f1/0 (thru f1/15 all the same)
switchport mode trunk
no ip address

interface Vlan1
no ip address

Thanks in advance for your help.

Dave
 
I believe you'll have to move you f0/0 subnet to interface VLAN 1 (but it's highly recommended to use other VLAN-IDs) and then use one of the port on switch module to replace f0/0, then the other ports on the module use switchport mode access.

!
Config snippet:
no ip dhcp conflict logging
ip dhcp excluded address xx.xx.xx.33
ip dhcp excluded address xx.xx.xx.34
ip dhcp excluded address xx.xx.xx.35
ip dhcp excluded address xx.xx.xx.36

ip dhcp pool pool-name
import all
network xx.xx.xx.32 255.255.255.240
default router xx.xx.xx.33

interface f0/0
no ip address

interface f0/1 (down with no IP)

interface f1/0
description Links to some other routers on xx.xx.xx.0/24
switchport access vlan 1
switchport mode access
no ip address
!
interface range f1/1 - 15
description User ports
switchport access vlan 1
switchport mode access
no ip address
!
interface Vlan1
ip address xx.xx.xx.33
 
This is why this forum is so great!! Another problem solved (self inflicted by forgetting to do a "copy run start" months ago when I first installed this router and trashed my notes).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top