I need to understand how secondary ip address configure on router work when it is two different network
ip address 1xx.xx.7.2 255.255.255.0 secondary
ip address 1xx.xx.6.2 255.255.255.0
ip route 1xx.xx.6.0 255.255.255.0 FastEthernet0/1
ip route 1xx.xx.7.0 255.255.255.0 FastEthernet0/1
Now what should be the switch port configration for the port connected to FastEthernet 0/1 of the router. If i want keep two different network by mean of vlan ( say vlan 6 and vlan 7 ) how it will work ? How to set up the dhcp server and relay on the L3 router?