cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1021
Views
0
Helpful
6
Replies

assign a vlan 1 interface

pcfreak49
Level 1
Level 1

I have a problem with my switch, I want to assign a vlan 1 interface but I always get an ip address from the ISP, how can you fix this

6 Replies 6

skarthic
Cisco Employee
Cisco Employee

Hi Pcfreak,

How is the switch connected to ISP. Is vlan1 getting an IP from ISP. Is it configured for DHCP or is there

an "ip address negotiated" statement

Is it possible for you to post the config .

Regards.

yes that is possible here is the current running-config

You have DHCP pool configured for Vlan 1

ip dhcp pool VLAN1
   import all
   network 10.10.10.0 255.255.255.0
   default-router 10.10.10.1
   lease infinite

Remove these commands and then you should be able to assign ip to vlan 1

B R,

Sandeep

I

removed

the

command

but I get

no

IP

address

Hi,

How are you trying to configure ?

interface Vlan1
ip address 10.10.10.1 255.255.255.0

can you explain a bit in detail what error are you getting ?  plz post the o/p//

br,

Sandeep

I get no error but get no ip address, get an APIPA IP address that you will not like you but the dhcp does not work

Review Cisco Networking for a $25 gift card