debian.1 wrote:
Things are definatly different in many places. I hope getting the hang of the Debian way doesn't prove to be too stressful.Greetings:I'm a current Redhat user _trying_ to switch to debian. More under the hooddifferences than I expected :-(I need to add a static IP subintrface on eth0. I used to just add a file in /etc/sysconfig/network-scripts corresponding to the new intrface and reboot.No problemNow, I cant ge the d^%# thing to work. I edited /etc/network/interfaces andadded the requisite section for the new interfaces: iface eth0:0 inet static address ...etc....But when I do a ifup/down, ifconfig still shows no subinterface.ipup -a giveme a list of SIOCSxxxxx No such device errors What does one have to do to add a sub interface? This is a freshly installed and updated Woody system. This was the first settign I tried to change. PITB. Thanks very much for the time to help,
I just added the eth0:0 entry to /etc/network/interfaces: [copy] auto eth0 iface eth0 inet dhcp auto eth0:0 iface eth0:0 inet static address 192.168.1.98 network 192.168.1.0 netmask 255.255.255.0 broadcast 192.168.1.255 [/copy] After issuing an ifup command, I had: eth0 Link encap:Ethernet HWaddr 00:01:02:26:0A:0A inet addr:192.168.1.8 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:89510660 errors:139 dropped:0 overruns:97 frame:139 TX packets:147560 errors:0 dropped:0 overruns:0 carrier:0 collisions:6147 txqueuelen:100 RX bytes:3035508172 (2.8 GiB) TX bytes:44244548 (42.1 MiB) Interrupt:11 Base address:0xec00 eth0:0 Link encap:Ethernet HWaddr 00:01:02:26:0A:0A inet addr:192.168.1.98 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:11 Base address:0xec00 Maybe some parameter in your settings for eth0:0 is incorrect. -- Jacob