ifdown. is it really down?

g geleem at bellsouth.net
Tue Jul 1 06:27:16 UTC 2008


Bruno Wolff III wrote:
> I think you misunderstood. I was suggesting that normally ifdown won't turn
> a device off, so it will still see ethernet traffic sent to it.

clearer.

my understanding was that 'ifdown' _stopped_ traffic thru port interface.

i am not sure of modem led, will check manual again after sending this.

active i see is i do believe from within, as it occurs when i start tbird
or firefox

> This makes it sound like the interface is still active. You can use the ip
> command to get more information about your network devices. ip link will
> show you the status of each link and ip addr will show you the addresses
> bound to each link. That might help diagnose what's going on.

with 'ifdown eth0'
[geo at argosyiayia ~]$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000
     link/ether 00:07:95:2b:26:23 brd ff:ff:ff:ff:ff:ff
[geo at argosyiayia ~]$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
     inet 127.0.0.1/8 scope host lo
     inet6 ::1/128 scope host
        valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000
     link/ether 00:07:95:2b:26:23 brd ff:ff:ff:ff:ff:ff

with 'ifup eth0'
[geo at argosyiayia ~]$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
     link/ether 00:07:95:2b:26:23 brd ff:ff:ff:ff:ff:ff
[geo at argosyiayia ~]$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
     inet 127.0.0.1/8 scope host lo
     inet6 ::1/128 scope host
        valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
     link/ether 00:07:95:2b:26:23 brd ff:ff:ff:ff:ff:ff
     inet 192.168.1.97/24 brd 192.168.1.255 scope global eth0
     inet6 fe80::207:95ff:fe2b:2623/64 scope link
        valid_lft forever preferred_lft forever
[geo at argosyiayia ~]$

will do a 'find' on manual. back in a short.


-- 

tc,hago.

g
.

in a free world without fences, who needs gates.




More information about the users mailing list