This post is more than 5 years old
9 Posts
0
28432
January 27th, 2015 04:00
6248 accessing web admin on non management VLAN
Hi,
I'm trying to set-up a 6248 as a Layer 2 switch however I'm having trouble trying to access it's web interface or even ping it's IP on a non management VLAN I've set-up.
As you can see from my config below I've moved the switches' management VLAN to VLAN 321, I've given the switch a IP address on VLAN 1 and I've plugged my laptop into port 1 which is on the default VLAN, VLAN 1. However I can't access the switches' web interface from my laptop, I can't even ping the switch.
If I plug my laptop into port 11, a port I've configured on the management VLAN, VLAN 321 I can talk to the switch fine using it's management VLAN IP.
Please help. What am I missing?
Thanks.
6 : configure
7 : vlan database
8 : vlan 100,200,321
9 : vlan routing 1 1
10 : exit
11 : hostname "layer2"
12 : stack
13 : member 1 5
14 : exit
15 : ip address 192.168.254.246 255.255.255.0
16 : ip default-gateway 192.168.254.250
17 : ip address vlan 321
18 : ip domain-name blah.local
19 : ip name-server 192.168.1.11
20 : ip name-server 192.168.1.12
21 : interface vlan 1
22 : ip address 192.168.127.246 255.255.128.0
23 : exit
24 : !
25 : interface ethernet 1/g11
26 : switchport access vlan 321
27 : exit
28 : !
29 : interface ethernet 1/g45
30 : switchport mode trunk
31 : switchport trunk allowed vlan add 1,100,200,321
32 : exit
33 : !
34 : interface ethernet 1/g46
35 : switchport mode trunk
36 : switchport trunk allowed vlan add 1,100,200,321
37 : exit
38 : !
39 : interface ethernet 1/g47
40 : switchport mode trunk
41 : switchport trunk allowed vlan add 1,100,200,321
42 : exit
43 : !
44 : interface ethernet 1/g48
45 : switchport mode trunk
46 : switchport trunk allowed vlan add 1,100,200,321
47 : exit
48 : exit
0 events found


kevk80
9 Posts
0
January 28th, 2015 02:00
Okay, seems to work as I'd like it to if I leave VLAN 1 as the management VLAN on the Layer 2 switches. Any reason I wouldn't want to set-up the layer 2 switches this way?
Thanks again,
Kevin.
configure
vlan database
vlan 100,200
exit
hostname "layer2"
stack
member 1 2
exit
ip address 192.168.127.245 255.255.128.0
ip default-gateway 192.168.127.250
ip domain-name blah.local
ip name-server 192.168.10.11
ip name-server 192.168.10.12
!
interface ethernet 1/g1
switchport access vlan 100
exit
!
interface ethernet 1/g45
switchport mode trunk
switchport trunk allowed vlan add 1,100,200
exit
!
interface ethernet 1/g46
switchport mode trunk
switchport trunk allowed vlan add 1,100,200
exit
!
interface ethernet 1/g47
switchport mode trunk
switchport trunk allowed vlan add 1,100,200
exit
!
interface ethernet 1/g48
switchport mode trunk
switchport trunk allowed vlan add 1,100,200
exit
exit
kevk80
9 Posts
0
January 27th, 2015 12:00
Hi Daniel,
Thanks for your reply.
Yep I've assigned the laptop 192.168.127.2.
I assigned 192.168.127.250 as the gateway, the layer 3 6248 I have plugged into one of the trunk ports. But it shouldn't even need the gateway as it's on the same network should it?
Yes I've tried pinging and accessing 192.168.127.246 with a web browser. I did set it manually but it doesn't show in the config, I guess because it's the default port setting?
I've also tried doing exactly the same with VLAN 100 and I have exactly the same out come. The only VLAN I seem to be able to connect to the switch on is VLAN 321, the management VLAN.
Thanks,
Kevin.
kevk80
9 Posts
0
January 28th, 2015 01:00
Hi,
Yes everything else works on the network works fine.
I can Telnet/SSH to 192.168.127.250 but not 192.168.127.246.
Thanks.
kevk80
9 Posts
0
January 29th, 2015 02:00
Okay, thank-you for your help Daniel, I appreciate it.