Question about secondary IP and vlan

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2008 10:29 AM - edited 03-03-2019 10:44 PM
We are providing an entirely new subnet
for our video conf. equipment.
The engineers have added a 172.20.255.x network for video conf. but have configured the router the following way.
interface GigabitEthernet0/1
description to LAN
ip address 172.20.255.34 255.255.255.248 secondary
ip address 192.168.92.251 255.255.255.0
load-interval 30
duplex auto
speed auto
media-type rj45
standby 1 ip 192.168.92.1
standby 1 ip 172.20.255.33 secondary
standby 1 preempt
With 192.168.92.x being the local lan
and 172.20.255.x being the video conf.
equipment network
My question is this
Would it have been better to configure the router interfaces with sub interfaces
instead of using secondary ip's?
Also..do the switches still need vlans
configured with the current configurations..
or will vlan 1 suffice
- Labels:
-
LAN Switching

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2008 10:34 AM
Hi, proper and clean design do not use any secondary address.
In most cases, having VLAN / subinterfaces is a big advantage, and you should seriously consider doing that.
Please rate post if it helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2008 10:44 AM
Yes if they only set secondary ip's then that must mean that the layer2 is still one large broadcast domain
I would certainly want to make sub-interfaces and split them into vlans
although creating that structure would affect access to the router for as long as it takes to get the switch port set to trunk and the sub-interfaces created so just plan accordingly
I'm sure you would do it the same way I'm thinking but (console cable to router and to switch) and put together a text file of all of the commands in the order needed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2008 11:31 AM
I couldnt figure out why a secondary IP
would be congiured.
Could the possiblity be the port would
have to be shut down in order
to configure a sub-int on for the LAN
and video conf. equipment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2008 11:43 AM
well yes the port would stop routing for a short time as the "no ip address" command would need to be entered to configure subinterfaces
example
enable
configure terminal
interface GigabitEthernet 0/1
no ip address
interface GigabitEthernet 0/1.1
ip address 172.16.x.y 255.255.255.0
encap dot1q 1
interface GigabitEthernet 0/1.2
ip address 192.168.x.y 255.255.255.0
encap dot1q 2
end
copy run start
and youd need to configure the switchport to be in trunk mode
enable
configure terminal
Interface GigabitEthernet 0/1
switchport trunk encapsulation dot1q
switchport mode trunk
also create vlan2 on the switch
(if the switch in non-cisco then more help will be neded)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2008 05:14 AM
great thx!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2008 06:52 AM
How will using sub interfaces effect the HSRP configuration?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2008 06:54 AM
When configured properly, HSRP works fine with subinterfaces.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2008 04:14 PM
One disadvantage of using subinterfaces, you can't easily prioritize the vidconf traffic if there's congestion on the physical interface. Perhaps a better solution would be to have a separate physical interface dedicated to the vidconf network.
