3-tier design/routerIPs
From Teknologisk videncenter
On Routers Configure the interface with an IP address
HQFW01(config)#<input>interface fa 0/0</input>
HQFW01(config-if)#<input>no shutdown</input>
HQFW01(config-if)#
<notice>%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up</notice>
HQFW01(config-if)#<input>ip add</input>
HQFW01(config-if)#<input>ip address 10.0.0.1 255.255.255.252</input>
HQFW01(config-if)#<input>end</input>
HQFW01#
%SYS-5-CONFIG_I: Configured from console by console
HQFW01#<input>show ip int brie</input>
Interface IP-Address OK? Method Status Protocol
<notice>FastEthernet0/0 10.0.0.1 YES manual up up</notice>
FastEthernet0/1 unassigned YES unset administratively down down
Vlan1 unassigned YES unset administratively down down
HQFW01#
On Switches routing needs to be enabled and the switchport needs to be configure as a routed port with the no switchport command
DLS1(config)#<input>ip routing</input>
DLS1(config)#<input>int fa 0/1</input>
DLS1(config-if)#<input>no switchport</input>
DLS1(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
DLS1(config-if)#<input>ip address 10.0.0.1 255.255.255.252</input>
DLS1(config-if)#<input>end</input>
DLS1#
%SYS-5-CONFIG_I: Configured from console by console
DLS1#<input>show ip int brie</input>
Interface IP-Address OK? Method Status Protocol
<notice>FastEthernet0/1 10.0.0.1 YES manual up up</notice>
FastEthernet0/2 unassigned YES unset down down
FastEthernet0/3 unassigned YES unset down down
FastEthernet0/4 unassigned YES unset down down