02-21-2017 10:11 AM - edited 03-08-2019 09:26 AM
I have L3 3750x Switch. i am not able to run internet on that.
1) I have to create VLAN 100. (which i have created)
2) Then need to create DHCP pool 192.168.1.0 (i have Created DHCP pool & merged with vlan 100)
3) i have series of wan ip one of that ip taken (182.45.123.88 255.255.255.248) to configure in L3 switch. that uplink will come from router.
now how i will run internet or configure wan ip on switch. plz help with full command.
Solved! Go to Solution.
02-21-2017 10:46 AM
Hi
If you want to provide internet access to the VLAN 100,
You need to create a default route pointing to your next hop IP in this case the ISP and enabling ip routing command
conf t
ip routing.
ip route 0.0.0.0 0.0.0.0 <IP address next hop ISP>
In order to configure an IP on a port on the switch, you must disable the switchport mode under the interface that you want to use, for example:
interface g1/0/1
no switchport
ip address 182.45.123.88 255.255.255.248
And you have to create a NAT, if you are going to use 1 Public IP, a PAT is the best choose. But Im not really sure if a switch 3750X supports NAT, you can verify if the following command is supported:
conf t
ip nat inside source ?
Otherwise it is not supported, if you are able to manage the router, you could configure the PAT on it.
02-21-2017 10:46 AM
Hi
If you want to provide internet access to the VLAN 100,
You need to create a default route pointing to your next hop IP in this case the ISP and enabling ip routing command
conf t
ip routing.
ip route 0.0.0.0 0.0.0.0 <IP address next hop ISP>
In order to configure an IP on a port on the switch, you must disable the switchport mode under the interface that you want to use, for example:
interface g1/0/1
no switchport
ip address 182.45.123.88 255.255.255.248
And you have to create a NAT, if you are going to use 1 Public IP, a PAT is the best choose. But Im not really sure if a switch 3750X supports NAT, you can verify if the following command is supported:
conf t
ip nat inside source ?
Otherwise it is not supported, if you are able to manage the router, you could configure the PAT on it.
02-21-2017 11:19 AM
Dear Sir i have tried all the commands apart from "ip routing" may be because of this internet was not working. i will add this command as well tommorow.
so NAT/PAT is compulsory. i did not run this command yet. so please if you can help me a little more with "NAT" command.
02-21-2017 11:19 AM
Thank you, please keep us posted
:-)
02-21-2017 10:57 AM
I don't recall the 3750X supporting NAT/PAT. If it doesn't, you'll need a device that does.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide