thank you Andrew the content is iface eth0 inet static address 10.0.0.2 network 10.0.0.0 netmask 255.0.0.0 gateway 10.0.0.1
My question is: dmesg to grep eth can show "eth0 and eth1" for intel card but ifconfig for the intel card is eth7 and eth8 respectively. When I put eth0 in the /network/interface and reboot again, eth0 does not exist. I have to put eth7 instead. but why dmesg is different ifconfig. how and why debian defines the network card? thank you again > > > > > I don't configure the /etc/network/interface > > > > how debian configure the card in eth0.1..2.3 > > and > > what file in debian to control the card? > > oh. yes, you need to configure > /etc/network/interface > > > > > I am confused! > > > > 2/ what is function of "allow-hotplug" in the > > /etc/network/interface? > > Sometime I comment it, the card doesn't show up! > > allow-hotplug sets the system so that udev controls > the network > interface as a pluggable device, like a usb drive > might be > controlled. You are probably better served to > replace allow-hotplug > <interface> with auto <interface> and a proper > > iface <interface> stanza for each connection. > > > > > 3/ When i change the file in > /etc/network/interface, > > Can i restart the network without rebooting? > > how? > > /etc/init.d/network<tab> restart > > or > > ifdown -a && ifup -a > > A > ____________________________________________________________________________________ Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. http://farechase.yahoo.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]