cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
792
Views
9
Helpful
5
Replies

New network with Layer 3 switch and 7 Layer 2 switch how to set route network to internet from Layer 3

smcisco
Level 1
Level 1

Dear,

 

I have confused that how to route inter-vlan traffic forward  to internet?  ISP cable connect to port 48. and live ip for example 1.1.1.1

 

Can you guide me ?

 

Thanks.

Junaid

5 Replies 5

Hi Junaid,

Assalamu Alikum,

 

To enable Inter VLAN routing on the switch by using the “ip routing” command.

then enable static routing on your core switch 

for example :

switch(config)#ip route 0.0.0.0 0.0.0.0 1.1.1.1

switch(config)#ip default-gateway 1.1.1.1

(1.1.1.1 is a next hop address of core switch connected towards ISP router) 

 

You can also enable routing by using port no

switch(config)#ip route 0.0.0.0 0.0.0.0 fa0/0

 

Regards 

Khaleelur Rahman

 

*Please dont forget to rate if this info is helpfull

 

 

Walikumusalam,

 

But i want to connect ISP in core switch port. after connect port 48.  fine below command.

switch(config)#ip route 0.0.0.0 0.0.0.0 fa0/48 1.1.1.1

Hi Junaid,

please execute the following commands in your core switch

coreswitch:

----------

coreswitch(config)#ip route 0.0.0.0 0.0.0.0 121.121.121.212

coreswitch(config)#ip default-gateway 121.121.121.212

 

Please Find the Attachment

Note : Please Let me know is there any other devices connected between coreswitch and ISP

Regards 

Khaleelur Rahman

 

*Please dont forget to rate if this info is helpfull

Thank you so much.

No there is no other device

 

Mean can i connect isp cable core switch of any port like fa0/48. no problem if i connect to port 24.

there is no need to change command.

Hi Junaid,

 

You are welcome..

 

 

Regards

Khaleelur Rahman

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card