[Gllug] HELP Network problem
Ben Whyte
ben at whyte-systems.co.uk
Sat Apr 22 11:14:32 UTC 2006
Bruce Richardson wrote:
> On Sat, Apr 22, 2006 at 12:16:59PM +0200, Martin wrote:
>
>> ifconfig eth2 down
>> ifconfig eth2 192.168.0.1 netmask 255.255.255.0 up
>> ping 192.168.0.1
>>
>
> And if the ip tool installed, which is much more capable, try
>
> ip link show
>
> to see what that says.
>
>
>
the ifconfig long way round results in the same output as the if up
ip link show
eth0: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:50:8b:61:6f:2c brd ff:ff:ff:ff:ff:ff
4: sit0: <NOARP> mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0
9: eth2_ifrename: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
my interfaces file looks like this
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
m#apping eth0
# script grep
# map eth0
# The primary network interface
#allow-hotplug eth0
auto eth0
iface eth0 inet loopback
#auto eth1
iface eth1 inet dhcp
iface eth2 inet dhcp
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list