[c-nsp] need help on switch configuration

Raj Panchal raj.panchal at vsnl.co.in
Tue May 17 13:23:16 EDT 2005


Where is ur router connected which port ? 
Is ur router doing intervlan routing ?
Which port is ur second switch connected on the first switch ? Is it trunk ?
Is it trunking both the vlans ? Also both the vlans should be there in the
vlan database of both switches

Also check whether ur getting appropriate mac address in appropriate vlans
on the switch connected to ur router and switch connected to ur PCs in
question.

Raj


-----Original Message-----
From: cisco-nsp-bounces at puck.nether.net
[mailto:cisco-nsp-bounces at puck.nether.net] On Behalf Of snort bsd
Sent: Saturday, May 14, 2005 9:39 AM
To: cisco-nsp
Subject: [c-nsp] need help on switch configuration

Hi All:

I have two switches and they are connected via
crossover cable. now i have two vlans (100 and 110)
configured and one works fine. but another just
doesn't work, meaning that it just doesn't pass
trafifc. this vlan is 192168.8.0/27; the servers, the
router interface (gateway) just don't talk to each
other. here is the configure:

version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname sw0-4200-oam
!
enable password 7 046802030224425D
!
clock timezone GMT -6
ip subnet-zero
!
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
!
!
interface FastEthernet0/1
 switchport access vlan 100
 switchport mode access
 spanning-tree portfast
!
interface FastEthernet0/2
 switchport access vlan 100
 switchport mode access
 spanning-tree portfast
!
interface FastEthernet0/3
 switchport access vlan 100
 switchport mode access
 spanning-tree portfast
!
interface FastEthernet0/4
 switchport access vlan 100
 switchport mode access
 spanning-tree portfast
!
interface FastEthernet0/5
 switchport access vlan 100
 switchport mode access
 spanning-tree portfast
!
interface FastEthernet0/6
 switchport mode access
 spanning-tree portfast
!
interface FastEthernet0/7
 switchport access vlan 110
 switchport mode access
 spanning-tree portfast
!
interface FastEthernet0/8
 switchport access vlan 110
 switchport mode access
 spanning-tree portfast
!
interface FastEthernet0/9
 switchport access vlan 110
 switchport mode access
 spanning-tree portfast
!
interface FastEthernet0/10
 switchport access vlan 110
 switchport mode access
 spanning-tree portfast
!
interface FastEthernet0/11
 switchport mode access
 spanning-tree portfast
!
interface FastEthernet0/12
 switchport mode access
 spanning-tree portfast
!
interface FastEthernet0/13
 switchport mode access
 spanning-tree portfast
!
interface FastEthernet0/14
 switchport mode access
 spanning-tree portfast
!
interface FastEthernet0/15
 switchport mode access
 spanning-tree portfast
!
interface FastEthernet0/16
 switchport mode access
 spanning-tree portfast
!
interface FastEthernet0/17
 switchport mode access
 spanning-tree portfast
!
interface FastEthernet0/18
 switchport mode access
 spanning-tree portfast
!
interface FastEthernet0/19
 switchport mode access
 spanning-tree portfast
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
 switchport trunk allowed vlan 100
 switchport mode trunk
 speed 100
 duplex full
!
interface FastEthernet0/24
 switchport trunk allowed vlan 110
 switchport mode trunk
 speed 100
 duplex full
!
interface GigabitEthernet0/1
 switchport mode trunk
!
interface GigabitEthernet0/2
 switchport mode trunk
!
interface Vlan1
 no ip address
 no ip route-cache
 shutdown
!
interface Vlan115
 ip address 10.10.100.11 255.255.255.224
 no ip route-cache
!
ip default-gateway 10.10.100.1
no ip http server
no cdp run
!
line con 0
line vty 0 4
 login
line vty 5 15
 login

what did I miss? trunk port 23 seems to work fine and
I ahve no problem to access network 10.10.100.0/27,
not trunk link 110 (port 24). tried different ports
and the results were the same:

globalnet-jsa#ping 192.168.8.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.8.1, timeout
is 2 seconds:
UUUUU
Success rate is 0 percent (0/5)
sw0-4200-oam#ping 10.10.100.1

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

tia



Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com
_______________________________________________
cisco-nsp mailing list  cisco-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/



More information about the cisco-nsp mailing list