Difference between revisions of "3-tier design/routerIPs"
From Teknologisk videncenter
m |
m |
||
Line 7: | Line 7: | ||
<notice>%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up</notice> | <notice>%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up</notice> | ||
− | |||
HQFW01(config-if)#<input>ip address 10.0.0.1 255.255.255.252</input> | HQFW01(config-if)#<input>ip address 10.0.0.1 255.255.255.252</input> | ||
HQFW01(config-if)#<input>end</input> | HQFW01(config-if)#<input>end</input> | ||
Line 13: | Line 12: | ||
%SYS-5-CONFIG_I: Configured from console by console | %SYS-5-CONFIG_I: Configured from console by console | ||
− | HQFW01#<input>show ip | + | HQFW01#<input>show ip interface brief</input> |
Interface IP-Address OK? Method Status Protocol | Interface IP-Address OK? Method Status Protocol | ||
Line 26: | Line 25: | ||
<source lang=cli> | <source lang=cli> | ||
DLS1(config)#<input>ip routing</input> | DLS1(config)#<input>ip routing</input> | ||
− | DLS1(config)#<input> | + | DLS1(config)#<input>interface fastethernet 0/1</input> |
DLS1(config-if)#<input>no switchport</input> | DLS1(config-if)#<input>no switchport</input> | ||
DLS1(config-if)# | DLS1(config-if)# | ||
Line 38: | Line 37: | ||
%SYS-5-CONFIG_I: Configured from console by console | %SYS-5-CONFIG_I: Configured from console by console | ||
− | DLS1#<input>show ip | + | DLS1#<input>show ip interface brief</input> |
Interface IP-Address OK? Method Status Protocol | Interface IP-Address OK? Method Status Protocol | ||
Latest revision as of 15:13, 2 June 2015
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 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 interface brief</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>interface fastethernet 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 interface brief</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