学员提问:
interface GigabitEthernet0/0
ip address 10.36.34.1 255.255.255.0
duplex auto
speed auto
h323-gateway voip interface
h323-gateway voip bind srcaddr 10.36.34.1
!
interface GigabitEthernet0/0.2
encapsulation dot1Q 2
ip address 10.39.255.1 255.255.255.0
no snmp trap link-status
下面连着开trunk的switch,但是配置子接口,主接口的IP地址还有用吗?
捷盈讲师及学员解答:
主接口IP还是有用的。因为子接口是划分了VLAN的,所以主接口的IP可以理解为主接口下NATIVE VLAN的IP地址。

