09-16-2016 05:58 PM
I want to connect the port of the MAS S2500 0/0/0 to a broadband modem. and configure the remainports for the clients with dhcp.
the problem is i am able to get an ip address from the dhcp pool of my vlan but i'm not getting through the internet. i am able to ping 126.96.36.199 from mas but my computer wont.
here's the script i've been running
interface vlan 2
ip address dhcp-client
interface vlan 100
ip address 10.99.0.1 255.255.255.0
ip nat inside
default-gateway X.X.X.X *depends on what ip on my vlan 2*
ip dhcp pool VLAN0100
network 10.99.0.0 255.255.255.0
default router 10.99.0.1
lease 0 4 0 0
interface-profile switching-profile accessvlan2
interface gigabitethernet 0/0/0
interface-profile swithing profile accessvlan100
Please correct me on my script if there are any... thanks im pretty noobish in configuration.