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

connect to a switch with different ip

Status
Not open for further replies.

Flyers01

Technical User
May 19, 2008
62
US
I have a L3 switch and another switch that has a different ip address how would I connect to it connect to switch through fiber cabling how would I configure the L3
 
will something like this work
thanks
vlan database
vlan 47
exit
config t
int g0/5
no switchport
ip address 192.168.10.5 255.255.255.0
int f0/1
switchport access vlan 47
no shut
exit

 
switch is connect to g0/5 and it's ip address is 192.168.10.4
 
Yes that will work . Then you have to figure out how you are routing , using a dynamic routing protocol or static routes ...
 
I guess I would use a static route.
My not sure this will work cause I can't connect to that switch I am trying to access it all I know is it password and IP address.

I might be better doing this

vlan database
vlan 47
exit
config t
int vlan 47
ip address 192.168.10.5 255.255.255.0
no shut
int f0/1
switchport access vlan 47
no shut
exit
int g0/5
switchport trunk encapsulation dot1q
switchport mode trunk
no shut
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top