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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Small office simulation router setup

Status
Not open for further replies.

phonetech1

Technical User
Jan 31, 2005
164
US
Hi,

I have to setup what seems to be a very basic configuration, but it doesn't work.

In our lab there is a cluster of switches with a 3550 that does all the routing for vlans.



I need to simulate a sort of a small branch office that has one connection

to the outside world (the lab network).



Here is my design:

Vlan 230 (the internet)

A port on 3550 is in vlan 230 and is connected to e0/0 (172.26.230.150) on 2611 router.

e0/1 interface on a 2611 is (192.168.1.1).

A PC is connected to e0/1 (192.168.1.12).



From the router I can ping any host on vlan 230 and other vlans,

I can also ping the pc connected to e0/1.



However from the PC I can only ping 192.168.1.1(e0/1) and 172.26.230.150 (e0/0)



Below is my configuration



Thanks for your help.



R2611-1#sh run

Building configuration...



Current configuration:

!

version 12.0

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname R2611-1

!

!

ip subnet-zero

ip dhcp excluded-address 192.168.1.1 192.168.1.9

!

ip dhcp pool 192.168.1

network 192.168.1.0 255.255.255.0

default-router 192.168.1.1

!

interface Ethernet0/0

ip address 172.26.230.150 255.255.255.0

no ip directed-broadcast

no ip mroute-cache

no mop enabled

!

interface Ethernet0/1

ip address 192.168.1.1 255.255.255.0

no ip directed-broadcast

no ip mroute-cache

!

ip classless

ip route 0.0.0.0 0.0.0.0 172.26.230.1

ip http server

!

!

no scheduler allocate
 
looks to me like the 3550 is missing a route for the 192.168.1/24 network

 
3550 only does intervlan routing. How do I add this route to the existing configuration?
192.168.1 network is supposed to be sort of external to the main network.

!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log datetime
service sequence-numbers
!
ip subnet-zero
ip routing
ip name-server 172.26.100.60
ip dhcp excluded-address 172.26.240.1 172.26.240.10
ip dhcp excluded-address 172.26.241.1 172.26.241.10
ip dhcp excluded-address 172.26.242.1 172.26.242.10
ip dhcp excluded-address 172.26.243.1 172.26.243.10
ip dhcp excluded-address 172.26.244.1 172.26.244.10
ip dhcp excluded-address 172.26.245.1 172.26.245.10
ip dhcp excluded-address 172.26.246.1 172.26.246.10
ip dhcp excluded-address 172.26.247.1 172.26.247.10
ip dhcp excluded-address 172.26.100.1 172.26.100.100
ip dhcp excluded-address 192.168.65.1 192.168.65.10
ip dhcp excluded-address 172.26.231.1 172.26.231.50
ip dhcp excluded-address 172.26.101.1 172.26.101.10
ip dhcp excluded-address 172.26.102.1 172.26.102.10
ip dhcp excluded-address 172.26.135.1 172.26.135.10
ip dhcp excluded-address 172.26.136.1 172.26.136.10
ip dhcp excluded-address 172.26.138.1 172.26.138.10
ip dhcp excluded-address 172.26.230.180 172.26.230.189
ip dhcp excluded-address 172.26.229.1 172.26.229.100
ip dhcp excluded-address 172.26.139.1 172.26.139.10
ip dhcp excluded-address 172.26.140.1 172.26.140.10
ip dhcp excluded-address 172.26.141.1 172.26.141.10
ip dhcp excluded-address 172.26.230.1 172.26.230.40
!
ip dhcp pool 230
network 172.26.230.0 255.255.255.0
default-router 172.26.230.1
!
ip dhcp pool 231
network 172.26.231.0 255.255.255.0
default-router 172.26.231.1
!
ip dhcp pool 232
network 172.26.232.0 255.255.255.0
default-router 172.26.232.1
!
ip dhcp pool 233
network 172.26.233.0 255.255.255.0
default-router 172.26.233.1
!
ip dhcp pool 234
network 172.26.234.0 255.255.255.0
default-router 172.26.234.1
!
ip dhcp pool 235
network 172.26.235.0 255.255.255.0
default-router 172.26.235.1
!
ip dhcp pool 236
network 172.26.236.0 255.255.255.0
default-router 172.26.236.1
!
ip dhcp pool 237
network 172.26.237.0 255.255.255.0
default-router 172.26.237.1
!
ip dhcp pool 238
network 172.26.238.0 255.255.255.0
default-router 172.26.238.1
!
ip dhcp pool 239
network 172.26.239.0 255.255.255.0
default-router 172.26.239.1
!
ip dhcp pool 240
network 172.26.240.0 255.255.255.0
default-router 172.26.240.1
option 150 ip 172.26.240.3
!
ip dhcp pool 241
network 172.26.241.0 255.255.255.0
default-router 172.26.241.1
!
ip dhcp pool 242
network 172.26.242.0 255.255.255.0
default-router 172.26.242.1
!
ip dhcp pool 243
network 172.26.243.0 255.255.255.0
default-router 172.26.243.1
!
ip dhcp pool 245
network 172.26.245.0 255.255.255.0
default-router 172.26.245.1
!
ip dhcp pool 246
network 172.26.246.0 255.255.255.0
default-router 172.26.246.1
!
ip dhcp pool 244
network 172.26.244.0 255.255.255.0
default-router 172.26.244.1
!
ip dhcp pool 247
network 172.26.247.0 255.255.255.0
default-router 172.26.247.1
!
ip dhcp pool 250
network 172.26.250.0 255.255.255.0
default-router 172.26.250.1
option 150 ip 172.26.250.3
!
ip dhcp pool 249
network 172.26.249.0 255.255.255.0
default-router 172.26.249.1
!
ip dhcp pool 248
network 172.26.248.0 255.255.255.0
default-router 172.26.248.1
!
ip dhcp pool 100
network 172.26.100.0 255.255.255.0
default-router 172.26.100.1
dns-server 172.26.100.60
!
ip dhcp pool 65
network 192.168.65.0 255.255.255.0
default-router 192.168.65.254
!
ip dhcp pool 101
network 172.26.101.0 255.255.255.0
default-router 172.26.101.1
!
ip dhcp pool 102
network 172.26.102.0 255.255.255.0
default-router 172.26.102.1
!
ip dhcp pool 135
network 172.26.135.0 255.255.255.0
default-router 172.26.135.1
!
ip dhcp pool 136
network 172.26.136.0 255.255.255.0
default-router 172.26.136.1
!
ip dhcp pool 138
network 172.26.138.0 255.255.255.0
default-router 172.26.138.1
!
ip dhcp pool 229
network 172.26.229.0 255.255.255.0
default-router 172.26.229.1
!
ip dhcp pool 137
network 137.135.128.0 255.255.255.0
default-router 137.135.128.1
!
ip dhcp pool 140
network 172.26.140.0 255.255.255.0
default-router 172.26.140.1
!
ip dhcp pool 141
network 172.26.141.0 255.255.255.0
default-router 172.26.141.1
!
vtp interface 172.26.100.1
cluster enable njpbxlab 0
cluster member 1 mac-address 0002.fda8.d6c0
cluster member 2 mac-address 0003.6b44.51c0
cluster member 3 mac-address 0003.6b4b.8f40
cluster member 4 mac-address 0003.6be1.3700
cluster member 5 mac-address 001a.a1f3.7800
cluster member 6 mac-address 001a.a22f.6080
cluster member 7 mac-address ecc8.824e.9100
cluster member 8 mac-address 0003.6b4c.c700
cluster member 9 mac-address 0015.6364.2000
!
!
!
no file verify auto
!
spanning-tree mode pvst
spanning-tree extend system-id
no spanning-tree vlan 204-229,251-254
!
vlan internal allocation policy ascending
!
!
interface FastEthernet0/1
description 1760
switchport access vlan 240
switchport trunk encapsulation dot1q
switchport mode dynamic desirable
spanning-tree portfast
!
interface FastEthernet0/2
description 2611-1eth00
switchport access vlan 230
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/3
description 2611-1eth01
switchport access vlan 81
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/4
description 2611-2eth00
switchport access vlan 230
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/5
description 2611-2eth01
switchport access vlan 82
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/6
description 2630-1fe0
switchport access vlan 100
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/7
description 2630-1fe1
switchport access vlan 81
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/8
description 2630-1fe2
switchport access vlan 82
switchport mode access
duplex half
spanning-tree portfast
!
interface FastEthernet0/9
description 2630-1fe3
switchport access vlan 100
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/10
description 2924-2
switchport trunk encapsulation dot1q
switchport mode trunk
spanning-tree portfast
!
interface FastEthernet0/11
description 2924-1
switchport trunk encapsulation dot1q
switchport mode trunk
spanning-tree portfast
!
interface FastEthernet0/12
description 2924-3
switchport trunk encapsulation dot1q
switchport mode trunk
spanning-tree portfast
!
interface FastEthernet0/13
description 2960-1
switchport trunk encapsulation dot1q
switchport mode trunk
spanning-tree portfast
!
interface FastEthernet0/14
description 2960-2
switchport trunk encapsulation dot1q
switchport mode trunk
spanning-tree portfast
!
interface FastEthernet0/15
description 3524-1
switchport trunk encapsulation dot1q
switchport mode trunk
spanning-tree portfast
!
interface FastEthernet0/16
description 2960-3
switchport access vlan 100
switchport trunk encapsulation dot1q
switchport mode trunk
spanning-tree portfast
!
interface FastEthernet0/17
description HP2524-1
switchport access vlan 100
switchport trunk encapsulation dot1q
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/18
description HP2524-2
switchport access vlan 100
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/19
no switchport
ip address 172.26.2.2 255.255.255.0
!
interface FastEthernet0/20
switchport access vlan 230
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/21
description Desk 1
switchport access vlan 230
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/22
description Desk 2
switchport access vlan 230
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/23
description Desk 3
switchport access vlan 230
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/24
description Desk 4
switchport access vlan 230
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 102,103
switchport mode access
spanning-tree portfast
!
interface GigabitEthernet0/1
switchport mode dynamic desirable
!
interface GigabitEthernet0/2
description 3550-2
switchport trunk encapsulation dot1q
switchport mode trunk
spanning-tree portfast trunk
!
interface Vlan1
ip address 10.10.10.2 255.255.255.0
!
interface Vlan65
ip address 192.168.65.254 255.255.255.0
!
interface Vlan81
ip address 192.26.81.1 255.255.255.0
!
interface Vlan82
ip address 192.26.82.1 255.255.255.0
!
interface Vlan100
ip address 172.26.100.1 255.255.255.0
!
interface Vlan101
ip address 172.26.101.1 255.255.255.0
!
interface Vlan102
ip address 172.26.102.1 255.255.255.0
!
interface Vlan103
no ip address
!
interface Vlan104
no ip address
!
interface Vlan105
no ip address
!
interface Vlan106
no ip address
!
interface Vlan107
no ip address
!
interface Vlan108
no ip address
!
interface Vlan109
no ip address
!
interface Vlan110
no ip address
!
interface Vlan111
no ip address
!
interface Vlan112
no ip address
!
interface Vlan113
no ip address
!
interface Vlan114
no ip address
!
interface Vlan115
no ip address
!
interface Vlan116
no ip address
!
interface Vlan117
no ip address
!
interface Vlan118
no ip address
!
interface Vlan119
no ip address
!
interface Vlan120
no ip address
!
interface Vlan121
no ip address
!
interface Vlan122
no ip address
!
interface Vlan123
no ip address
!
interface Vlan124
no ip address
!
interface Vlan125
no ip address
!
interface Vlan126
no ip address
!
interface Vlan127
no ip address
!
interface Vlan128
no ip address
!
interface Vlan129
no ip address
!
interface Vlan130
no ip address
!
interface Vlan131
no ip address
!
interface Vlan132
no ip address
!
interface Vlan133
no ip address
!
interface Vlan134
no ip address
!
interface Vlan135
ip address 172.26.135.1 255.255.255.0
!
interface Vlan136
ip address 172.26.136.1 255.255.255.0
!
interface Vlan137
ip address 137.135.128.1 255.255.255.0
!
interface Vlan138
ip address 172.26.138.1 255.255.255.0
!
interface Vlan139
ip address 172.26.139.1 255.255.255.0
!
interface Vlan140
no ip address
!
interface Vlan141
ip address 172.26.141.1 255.255.255.0
!
interface Vlan142
ip address 172.26.142.1 255.255.255.0
!
interface Vlan143
ip address 172.26.143.1 255.255.255.0
!
interface Vlan144
no ip address
!
interface Vlan145
no ip address
!
interface Vlan146
no ip address
!
interface Vlan147
no ip address
!
interface Vlan148
no ip address
!
interface Vlan149
no ip address
!
interface Vlan150
no ip address
!
interface Vlan151
no ip address
!
interface Vlan152
no ip address
!
interface Vlan153
no ip address
!
interface Vlan154
no ip address
!
interface Vlan155
no ip address
!
interface Vlan156
no ip address
!
interface Vlan157
no ip address
!
interface Vlan158
no ip address
!
interface Vlan159
no ip address
!
interface Vlan160
no ip address
!
interface Vlan161
no ip address
!
interface Vlan162
no ip address
!
interface Vlan163
no ip address
!
interface Vlan164
no ip address
!
interface Vlan165
no ip address
!
interface Vlan166
no ip address
!
interface Vlan167
no ip address
!
interface Vlan168
no ip address
!
interface Vlan170
no ip address
!
interface Vlan171
no ip address
!
interface Vlan172
no ip address
!
interface Vlan173
no ip address
!
interface Vlan174
no ip address
!
interface Vlan175
no ip address
!
interface Vlan176
no ip address
!
interface Vlan177
no ip address
!
interface Vlan178
no ip address
!
interface Vlan179
no ip address
!
interface Vlan180
no ip address
!
interface Vlan181
no ip address
!
interface Vlan182
no ip address
!
interface Vlan183
no ip address
!
interface Vlan184
no ip address
!
interface Vlan185
no ip address
!
interface Vlan186
no ip address
!
interface Vlan187
no ip address
!
interface Vlan188
no ip address
!
interface Vlan189
no ip address
!
interface Vlan190
no ip address
!
interface Vlan191
no ip address
!
interface Vlan192
ip address 192.168.20.1 255.255.255.0
!
interface Vlan193
no ip address
!
interface Vlan194
no ip address
!
interface Vlan195
no ip address
!
interface Vlan196
no ip address
!
interface Vlan197
no ip address
!
interface Vlan198
no ip address
!
interface Vlan199
no ip address
!
interface Vlan200
no ip address
!
interface Vlan201
no ip address
!
interface Vlan202
no ip address
!
interface Vlan203
no ip address
!
interface Vlan204
no ip address
!
interface Vlan205
no ip address
!
interface Vlan206
no ip address
!
interface Vlan207
no ip address
!
interface Vlan208
no ip address
!
interface Vlan209
no ip address
!
interface Vlan210
no ip address
!
interface Vlan211
no ip address
!
interface Vlan212
no ip address
!
interface Vlan213
no ip address
!
interface Vlan214
no ip address
!
interface Vlan215
no ip address
!
interface Vlan216
no ip address
!
interface Vlan217
no ip address
!
interface Vlan218
no ip address
!
interface Vlan219
no ip address
!
interface Vlan220
no ip address
!
interface Vlan221
no ip address
!
interface Vlan222
no ip address
!
interface Vlan223
no ip address
!
interface Vlan224
no ip address
!
interface Vlan225
no ip address
!
interface Vlan226
no ip address
!
interface Vlan227
no ip address
!
interface Vlan228
no ip address
!
interface Vlan229
ip address 172.26.229.1 255.255.255.0
!
interface Vlan230
ip address 172.26.230.1 255.255.255.0
!
interface Vlan231
ip address 172.26.231.1 255.255.255.0
!
interface Vlan232
ip address 172.26.232.1 255.255.255.0
!
interface Vlan233
ip address 172.26.233.1 255.255.255.0
!
interface Vlan234
ip address 172.26.234.1 255.255.255.0
!
interface Vlan235
ip address 172.26.235.1 255.255.255.0
!
interface Vlan236
ip address 172.26.236.1 255.255.255.0
!
interface Vlan237
ip address 172.26.237.1 255.255.255.0
!
interface Vlan238
ip address 172.26.238.1 255.255.255.0
!
interface Vlan239
ip address 172.26.239.1 255.255.255.0
!
interface Vlan240
ip address 172.26.240.1 255.255.255.0
!
interface Vlan241
ip address 172.26.241.1 255.255.255.0
!
interface Vlan242
ip address 172.26.242.1 255.255.255.0
!
interface Vlan243
ip address 172.26.243.1 255.255.255.0
!
interface Vlan244
ip address 172.26.244.1 255.255.255.0
!
interface Vlan245
ip address 172.26.245.1 255.255.255.0
!
interface Vlan246
ip address 172.26.246.1 255.255.255.0
!
interface Vlan247
ip address 172.26.247.1 255.255.255.0
!
interface Vlan248
ip address 172.26.248.1 255.255.255.0
!
interface Vlan249
ip address 172.26.249.1 255.255.255.0
!
interface Vlan250
ip address 172.26.250.1 255.255.255.0
!
ip default-gateway 172.26.100.60
ip classless
ip route 0.0.0.0 0.0.0.0 172.26.100.60
ip http server
!
!
!
 
on the 3550 add ip route 192.168.1.0 255.255.255.0 172.26.230.150

 
Thanks, but that didn't work. Someone suggested that I need to setup NAT on the router.
I'll work on this today.
 
Thanks, but that didn't work. Someone suggested that I need to setup NAT on the router.
Walk me through your steps now; what device are you trying to ping from/to. As for NAT, there is no need for it in this config. Your 2611 is running some really old code so just for giggles add ip routing to it.

 
I added NAT and it works. This is exactly what I need. My next step was to add NAT anyway.
Thanks for your help.
 
interesting. can you post your finished config?? with your addressing scheme and topology NAT shouldn't have been needed to establish end-to-end connectivity so i am interested to see your final configs.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top