cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
704
Views
0
Helpful
2
Replies

VLAN 1 Issue

jaydenle
Level 1
Level 1

Hi All,

I recently setup new 3750x switches in my network and created vlans to expand my network. I assigned an interface Gi1/0/1 ip 192.168.1.253 so it act as an gateway for my VLANs. The vlan works fine in this case but only problem is that my default vlan 1 does not have any connectivity. What have i done wrong? i have attached the config of my switch. Thanks for your help.

interface GigabitEthernet1/0/1

description Default Gateway for VLAN

no switchport

ip address 192.168.1.253 255.255.255.0

!

!

interface GigabitEthernet1/0/2

switchport mode access

speed 1000

duplex full

!

interface GigabitEthernet1/0/3

!

interface GigabitEthernet1/0/4

!

interface GigabitEthernet1/0/5

!

interface GigabitEthernet1/0/6

!

interface GigabitEthernet1/0/7

!

interface GigabitEthernet1/0/8

!

interface GigabitEthernet1/0/9

!

interface GigabitEthernet1/0/10

!

interface GigabitEthernet1/0/11

!

interface GigabitEthernet1/0/12

switchport access vlan 4

switchport mode access

!

interface GigabitEthernet1/0/13

switchport access vlan 2

switchport mode access

speed 100

duplex full

!

interface GigabitEthernet1/0/14

switchport access vlan 2

switchport mode access

!

interface GigabitEthernet1/0/15

switchport access vlan 2

switchport mode access

!

interface GigabitEthernet1/0/16

switchport access vlan 2

switchport mode access

!

interface GigabitEthernet1/0/17

switchport access vlan 2

switchport mode access

!

interface GigabitEthernet1/0/18

switchport access vlan 2

switchport mode access

!

interface GigabitEthernet1/0/19

switchport access vlan 2

switchport mode access

!

interface GigabitEthernet1/0/20

switchport access vlan 2

switchport mode access

!

interface GigabitEthernet1/0/21

switchport access vlan 2

switchport mode access

power inline port priority high

flowcontrol receive on

!

interface GigabitEthernet1/0/22

switchport access vlan 2

switchport mode access

!

interface GigabitEthernet1/0/23

description ***Trunking Ports***

switchport trunk encapsulation dot1q

switchport mode trunk

speed 1000

duplex full

!

interface GigabitEthernet1/0/24

description ***Trunking Ports***

switchport trunk encapsulation dot1q

switchport mode trunk

speed 1000

duplex full

!

interface GigabitEthernet1/1/1

description ***Uplink-to-Warehouse-Cisco3750G***

switchport trunk encapsulation dot1q

switchport mode trunk

udld port

storm-control multicast level 50.00

!

interface Vlan1

no ip address

!

interface Vlan2

ip address 192.168.2.254 255.255.255.0

ip helper-address 192.168.1.101

!

interface Vlan4

ip address 192.168.4.254 255.255.255.0

ip helper-address 192.168.1.101

!

interface Vlan8

no ip address

!

ip classless

ip route 0.0.0.0 0.0.0.0 192.168.255.1

ip route 192.168.0.0 255.255.0.0 192.168.1.254

ip route 192.168.1.0 255.255.255.0 192.168.1.254

ip http server

ip http secure-server

!

ip sla enable reaction-alerts

!

!

line con 0

line vty 0 4

password bmw328i

login

line vty 5 15

password bmw328i

login

!

end

2 Replies 2

Sandeep Choudhary
VIP Alumni
VIP Alumni

HI Jayden,

Why are you using IP ADDRESS for interface GigabitEthernet1/0/1.

Instead you can use this address for int vlan 1 and then make shut, not shut.

Try this :

Int gig1/0/1

No ip address

no duplex full

int vlan 1

ip address 912.168.1.253 255.255.255.0

ip helper-address 192.168.1.101

Reagrds

please rate if it helps.

Just as a note here, I'd recommend you NOT use vlan 1 for your configuration.  Though it may not be of immediate concern to you for this task, it is a good practice to keep that vlan shut down and pruned from trunk links.  Since you aren't explicitly defining a vlan as native on your trunk, the switch defaults to vlan 1 as native, which exposes you to some security vulnerabilities.

I know, I know.....that's outside the scope of what you're trying to get done, but it's good to know for future reference.

***Please rate helpful posts***

Review Cisco Networking for a $25 gift card