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

vlan & trunk problem

Status
Not open for further replies.

highland8

Programmer
Joined
May 24, 2005
Messages
14
Location
PL
Hello

I have router 2501 connected thru ethernet 0 to swith 2950 (fastethernet 0/1 of the switch). I also have PC connected to fastethernet 0/2 of the switch.
I also have three vlans. Swith has configutarion:

interface FastEthernet0/1
switchport mode trunk
interface FastEthernet0/2
switchport mode access
switchport access vlan 30

vlan 30 name servers
vlan 10 name Research
vlan 20 name Sales

Router has configuration:
interface Ethernet0
no ip address
no ip directed-broadcast
!
interface Ethernet0.1
encapsulation dot1q 10
ip address 223.0.0.1 255.255.255.192
!
interface Ethernet0.2
encapsulation dot1q 20
ip address 223.0.0.65 255.255.255.224
!
interface Ethernet0.3
encapsulation dot1q 30
ip address 223.0.0.145 255.255.255.240
!

PC has address 223.0.0.149 (vlan 30).
The problem is that even router can not ping himself:
#ping 223.0.0.145

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 223.0.0.145, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5), round-trip min/avg/max = 1/2/4 ms

it's interface is down:
#sh interfaces ethernet 0.3
Ethernet0.3.3 is up, line protocol is down
Internet address is 223.0.0.145/28
MTU 1500 bytes, BW Kbit, DLY 1000 usec, rely 255/255, load 1/255
Encapsulation ARPA, loopback not set, keepalive set (10 sec)
ARP type: ARPA, ARP Timeout 04:00:00

Why ? What do i need to add to ping PC from router ?

Thanx
Michal
 
The 2500-series cannot do VLAN trunking. If you attempt to enter the following you will get an error:

interface ethernet0.10
encapsulation dot1q 10

The encapsulation command will not be recognised. You will need either a 2600 with FastEthernet interfaces and at least IP Plus (12.1 or about I think? maybe 12.0?), or a 1701, 1721 or 1751. I think all router models above these allow 802.1q trunking to be configured on FastEthernet interfaces, no change on a 2500-series sorry.

Andy
 
I used boson 6 BETA 2 simulator for that with 2501 router.
I did not received any errors when configuring VLAN trunking, but as you see it does not work.
#sh version show that IOS version is 12.1.

Is it possible that this simulator allows setting VLAN trukning on 2501 without errors but it does not working ?

By the way: Does VLAN trunking works on any device which has only slower Ethernet interface (not FastEthernet) ?

Thanx
Michal
 
The Boson simulator is wrong. There were some IOS images for the 2600-series that allowed 802.1q subinterfaces to be configured but I asked Cisco a while ago and they said you couldn't, so it probably isn't supported.

Andy
 
Sorry, what I meant was

'There were some IOS images for the 2600-series that allowed 802.1q subinterfaces to be configured on 10Mb Ethernet interfaces'

Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top