cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
454
Views
0
Helpful
1
Replies

Layer 2 switch - Dedicated IP from ISP

smutnpj10
Level 1
Level 1

I'm trying to connect a 2960-CX layer 2 switch to an ISP dedicated IP connection.  I'm missing something.  I want the switch to hand out private addresses and connect to the internet ISP on port 10.   How do you NAT on layer 2?  Here's a snapshot of my config:

 

ip routing
!
ip dhcp pool LAN_POOL
network 192.168.10.0 255.255.255.0
dns-server 68.105.28.16 68.105.29.16
default-router 192.168.10.254

 

interface GigabitEthernet0/1
switchport access vlan 10
switchport mode access

 

interface GigabitEthernet0/10

description - ISP Provider

swithport access vlan 1
switchport mode access

 

interface Vlan1
ip address  72.204.214.172 255.255.255.224
ip helper-address 72.204.214.161
!
interface Vlan10
ip address 192.168.10.254 255.255.255.0

ip default-gateway 72.202.212.161

access-list 1 permit any

1 Reply 1

Reza Sharifi
Hall of Fame
Hall of Fame

The 2960 series switches cannot do NAT.  You would need a router.

HTH