06-07-2007 02:05 PM - edited 03-03-2019 05:21 PM
I have an network that has 172.17.0.x as the main backbone, and I have a couple of buildings that I need to have DHCP client PCs installed. I have a 3650 to use for the building and everything on the backbone is statically routed.
I would like to have DHCP within the building on the switch lets say 10.10.1.x.
I have the switch doing DHCP for 10.10.1.x with a gateway of 10.10.1.1.
I am not sure how to ge the routing side of the switch to make the connection.
Any help would be appreciated.
06-12-2007 06:21 AM
Hi tgatton.
What is your problem?
A.From 10.10.10.x network can't reach to 172.17.0.1.
B.From 10.10.10.x network can't reach to outside network.
If A:Can you do ping command from clients on 10.10.1.x network to 172.17.0.1? How about?
If it still can't work please show us with the routing table on Cisco2600.
If B:What is meaning of outside network?
If it is internet then you need do nat for 10.10.10.x network.
06-13-2007 04:09 AM
Basically, my problem was I posted a config that was not working, and was wondering why it was not working. The config I posted is in the initial postings.
Below is the final config that does work.
Current configuration : 2418 bytes
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname blahblahblah
!
enable secret 5
enable password xxxxxxxx
!
username root secret 5
no aaa new-model
ip subnet-zero
ip routing
ip name-server 172.17.0.4
ip name-server 172.17.0.5
ip dhcp excluded-address 10.10.1.1
!
ip dhcp pool lib-1
import all
network 10.10.1.0 255.255.255.0
default-router 10.10.1.1
dns-server 172.17.0.x 172.17.0.x
!
ip dhcp-server 10.10.1.1
!
!
!
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
interface FastEthernet0/1
no switchport
ip address 172.17.0.xxx 255.255.255.0
!
interface FastEthernet0/2
switchport access vlan 2
!
interface FastEthernet0/3
switchport access vlan 2
!
interface FastEthernet0/4
switchport access vlan 2
!
interface FastEthernet0/5
switchport access vlan 2
!
interface FastEthernet0/6
switchport access vlan 2
!
interface FastEthernet0/7
switchport access vlan 2
!
interface FastEthernet0/8
switchport access vlan 2
!
interface FastEthernet0/9
switchport access vlan 2
!
interface FastEthernet0/10
switchport access vlan 2
!
interface FastEthernet0/11
switchport access vlan 2
!
interface FastEthernet0/12
switchport access vlan 2
!
interface FastEthernet0/13
switchport access vlan 2
!
interface FastEthernet0/14
switchport access vlan 2
!
interface FastEthernet0/15
switchport access vlan 2
!
interface FastEthernet0/16
switchport access vlan 2
!
interface FastEthernet0/17
switchport access vlan 2
!
interface FastEthernet0/18
switchport access vlan 2
!
interface FastEthernet0/19
switchport access vlan 2
!
interface FastEthernet0/20
switchport access vlan 2
!
interface FastEthernet0/21
switchport access vlan 2
!
interface FastEthernet0/22
switchport access vlan 2
!
interface FastEthernet0/23
switchport access vlan 2
!
interface FastEthernet0/24
switchport access vlan 2
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
no ip address
!
interface Vlan2
ip address 10.10.1.1 255.255.255.0
!
interface Vlan3
no ip address
shutdown
!
ip classless
ip route 0.0.0.0 0.0.0.0 172.17.0.1
ip http server
!
!
!
control-plane
!
!
line con 0
line vty 0 4
password xxxxxxxx
no login
line vty 5 15
password xxxxxxxx
no login
!
!
end
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