[c-nsp] need help on switch configuration

snort bsd snortbsd at yahoo.com.au
Sat May 14 00:09:08 EDT 2005


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


More information about the cisco-nsp mailing list