Hello all. I was just wondering I was looking at the configuration of portchannels when I notice that there are two ways of creating a portchannel a layer 3 and a layer 2 portchannel as you all can see in my configuration I have a layer 2 portchannel and the ip address is asigned in the vlan, What is the best way to configure the portchannels layer 2 or 3, in case I changed it to layer 3 is my dhcp affected?
Thanks in advance
Gerardo
!
ip dhcp pool 8
network 172.16.108.0 255.255.255.0
domain-name bantrab.bantrab.net.gt
dns-server 172.16.1.243 172.16.1.8 172.16.1.11
netbios-name-server 172.16.1.243 172.16.1.8 172.16.1.77
default-router 172.16.108.251
netbios-node-type m-node
lease 0 1
!
interface Port-channel8
switchport
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,108,192
switchport mode trunk
!
interface Vlan108
ip address 172.16.108.251 255.255.255.0
C 172.16.108.0/24 is directly connected, Vlan108
S* 0.0.0.0/0 [1/0] via 172.16.1.11
Thanks in advance
Gerardo
!
ip dhcp pool 8
network 172.16.108.0 255.255.255.0
domain-name bantrab.bantrab.net.gt
dns-server 172.16.1.243 172.16.1.8 172.16.1.11
netbios-name-server 172.16.1.243 172.16.1.8 172.16.1.77
default-router 172.16.108.251
netbios-node-type m-node
lease 0 1
!
interface Port-channel8
switchport
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,108,192
switchport mode trunk
!
interface Vlan108
ip address 172.16.108.251 255.255.255.0
C 172.16.108.0/24 is directly connected, Vlan108
S* 0.0.0.0/0 [1/0] via 172.16.1.11