Setup guide

22
Setup Guide
5. The default IP address is assigned to the veth1 interface. Type
interface veth1. The new prompt is
Router(config-if-veth1)#.
6. Type ip address and the new address. Your screen will look
like this example:
It is also acceptable to enter the subnet mask by typing
ip address 192.168.123.254/24.
Use the
show interface veth1
command from privileged mode to
see the new IP address. The new IP address automatically writes
over the default IP address.
Enter the commands shown in the following screen in order to save
the change to the IP address.
13:22:24 Wed Nov 20 2002: Login from console.
Router> enable
Router# configure terminal
Router(config)# interface veth1
Router(config-if-veth1)# ip address 192.168.123.254 255.255.255.0
Router(config-if-veth1)# end
Router# show interface veth1
veth1 is up, line protocol is up
Hardware is virtual interface VLAN 1, address is 00:00:94:D2:56:FA
Encapsulation ARPA, Flags:<UP,BROADCAST,RUNNING,MULTICAST>
inet 192.168.123.254/24 broadcast 192.168.123.255
ARP Type: ARPA, ARP Timeout: 14400 seconds
Router#
Router(config-if-veth1)# end
Router# write file
Writing current-config to startup-config. Please wait…
Configuration saved to startup-config file
Router#