Tuesday, May 20, 2014

How to assign IP address on Router/Switch/ASA



Some basic configuration for Router/Switch/ASA:

Assign IP Address:
Router>enable
Router#configure terminal
Router(config)#interface fastEthernet 0/0   >> Same as Serial Interface
Router(config-if)#ip address 172.16.100.1 255.255.255.0   >> IP Address
Router(config-if)#no shutdown   >> By default shutdown all interface so, you need to UP interface.
                               

Assign IP Address in Router/Switch:
Router#configure terminal
Router(config)#interface vlan 1  >> Create interface as your requirement (vlan 2, vlan 3)
Router(config-if)#ip address 172.16.200.2 255.255.255.0  >> as your requirement
Router(config-if)#no shutdown

No comments:

Post a Comment