06-25-2015 09:01 PM - edited 03-08-2019 12:43 AM
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
06-26-2015 12:02 AM
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
06-26-2015 12:26 AM
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
06-26-2015 12:51 AM
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
06-26-2015 02:43 AM
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.
06-26-2015 03:47 AM
Hi Junaid,
You are welcome..
Regards
Khaleelur Rahman
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: