USRobotics U.S. Robotics SureConnect ADSL Ethernet/USB Router User Manual

Page 138

Advertising
background image

U.S. Robotics SureConnect ADSL Ethernet/USB Router User Guide

ether 08:00:20:c0:c9:74
lo0: flags=ffff8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
The above command lists all the interfaces.

ifconfig –o –l
Displays a list of interfaces. It will result in a listing such as "eth0 atm0."

ifconfig –o eth0
eth0: flags=ffff8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST>
mtu 1500 inet 192.168.2.185 netmask 0xffffff00 broadcast 192.168.2.255
ether 08:00:20:c0:c9:74
The configuration of eth0 is listed.

ifconfig –o eth0 inet 192.168.2.242
Set the IP address on eth0 to 192.168.2.242

ifconfig –o eth0 inet 192.168.2.185 mtu 900
Changes the MTU for the eth0 interface.

ifconfig –o eth0 inet 192.168.2.185 broadcast 192.168.255.255
Changes the broadcast address

ifconfig –o eth0 inet 192.168.2.185 netmask 255.255.00.00
Changes the netmask.

ifconfig –o eth0 inet 192.168.2.185 down
Marks the interface as down.

ifconfig –o eth0 inet 192.168.2.185 up
Marks the interface as up.

ifconfig –o eth0 inet 192.168.2.185 alias 192.168.2.242

file:///P|/T_WRITER/Documentation/Released/9003%20(Guinness)/User%20Guide/9003%20(Guiness)%20prac%20template/cli.htm (14 of 71) [11/6/2002 8:58:45 AM]

Advertising