Re: Q on Configuring an Access_Switch ...

Unanswered Question
Sep 25th, 2008

Hello,

My question is that I am setting up a 3750 access switch. My management vlan is vlan 1 and I have one data vlan which is vlan 2. The default-gateway is the interface vlan ip of vlan 2

which is created on the distribution router.

Here is the config for this basic setup :-

-----------------------------------------3750 Access Switch

vlan 1

name Mgmt_Vlan

!

vlan 2

name Data_Vlan

!

!

int Vlan1

description *** Management Vlan ***

ip add 139.200.1.40 255.255.255.0

!

!

ip default-gateway 139.200.2.251 <<<<<<<<

-----------------------------------------

My question is would the above setup okay or do I need to change it to the ip of the interface vlan 1 on the distribution router ?

It should work but I would just like to double confirm this simple setup.

Thank you,

Cheers,

- InternetB -

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
glen.grant Thu, 09/25/2008 - 18:25

It should be the router address for vlan 1 . If using a default gateway make sure routing is turned off on the 3750 .

InternetB Thu, 09/25/2008 - 19:40

Hello Glen,

[1] Thank you for the post. The reason that the 3750 needs its gateway pointing to the interface of vlan 1 is because the SVI on the 3750 is on vlan 1/ same IP subnet ?

Just want to understand the logic.

Thank you,

Cheers,

- InternetB -

Jon Marshall Fri, 09/26/2008 - 00:37

"The reason that the 3750 needs its gateway pointing to the interface of vlan 1 is because the SVI on the 3750 is on vlan 1/ same IP subnet ? "

Yes because the 3750 is only acting as a L2 device you can only have vlan interface in use and that should be for management. So this vlan 1 interface is used purely to gain access to the switch and not for any user data. The default-gateway is needed so you can remotely telnet into the switch.

Note as a side issue Cisco recommends using a vlan other than vlan 1 for managing your switches. It's not vital so don't worry, it's just best practice.

Jon

Actions

This Discussion