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

Network config problem 2

Status
Not open for further replies.

testing1234

IS-IT--Management
Nov 3, 2004
25
GB
Hi All

Hope you can help. I have a network problem conecting the switches together.

Here it is. I am connecting two switches through a les 100 mb link. One switch is a L2 swich and the other is a L3 switch. I have trunked them together using 8021q via ports on each switch. I am unable to ping the diferent networks on each side. This is how it looks like.

network1---switch1(L2)----les 100mb ----switch2----network2.

any ideas please.

thanks
 
not sure what you mean with a les 100mb cable, but 2 switches need to connected with a cross cable. If the switches can ping each other, then thats good. The fact you can't ping the other networks can be because of the ip addresses and sm's.

CCNA, CCNP..partly ;)
 
Thanks for the reply.

the les link is the line provided bt BT. the ip address on the L2 layer switch is 172.16.75.32 and the L3 layer switch is 172.232.254.254.

 
Make sure you can ping the layer3 switches IP address that is on the same network segment as you. If you can't, then you need to look at layer2 setup. If you can, but can't get past your segment, then you need to look at the layer3 switches configuration.
 
I am able to get to the layer 3 switch by changing my pc address to 172.232.254.253 with the default gateway being 172.232.254.254.

pc ---network1---switch1(L2)----les 100mb ----switch2(L3)----network2

My problem is that I am on a 172.16.75.0 network. Do I configure routes. If so how would I do that with the L2 switch having no routing caperbilities?
 
ok, i thought the switches were next to each other and didn't understand there is actually an ISP in between.

"L2 layer switch is 172.16.75.32" thats a private ip address and cannot be routed over the internet.

"L3 layer switch is 172.232.254.254." thats a public ip address but cannot communicate with the private address of the L2 switch.
On the L2 switch you need to get a public address or BT does NAT for you somewhere, but i doubt that.
So I think your problem is at the L2 switch.


CCNA, CCNP..partly ;)
 
The link is 100mb hard line. so its not going through the internet. the switches are in seperate locations conected by the 100mb link. I can see the connection using Cisco assistant but unable to ping each the networks from ether side.
 
can u assign a ip adress on the layer 2 switch on on of the ports and routed through the port adding a route?
 
MTandSAV

are you saying that you cant route through a cisco layer2 switch?
 
Sample Configuration:

Layer3 Switch:

Code:
configure terminal
ip routing
interface vlan 100
   ip address 172.232.254 255.255.255.0
interface vlan 101
   ip address 172.16.75.254 255.255.255.0
interface fastethernet0/1
   description Switch Trunk to Layer2 Switch
   switchport trunk encapsulation dot1q
   switchport mode trunk

Layer 2 Switche:

Code:
configure terminal
interface fastethernet0/1
   description Switch Trunk to Layer3 Switch
   switchport trunk encapsulation dot1q
   switchport mode trunk

Now you will be able to be routered to VLAN 101 from VLAN 100.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top