I have Fedora 15 and when i try to use this command: route add default gw 192.168.1.254 eth0 i get this error: SIOCDELRT: No such process Can you help me?
Is your NIC named eth0, or is it something like p3p1 (see http://fedoraproject.org/wiki/Features/ConsistentNetworkDeviceNaming )? What's the output of Code: ifconfig ?
eth0 Link encap:Ethernet HWaddr 50:E5:49:40:3B:96 inet addr:79.***** Bcast:79.***** Mask:255.255.255.0 inet6 addr: fe80::::fe40:3b96/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:29885391 errors:0 dropped:3403682 overruns:0 frame:0 TX packets:273528 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:3410517956 (3.1 GiB) TX bytes:43766711 (41.7 MiB) Interrupt:52 Base address:0xc000 p21p1 Link encap:Ethernet HWaddr 00:1F:1F:E9:9E:2F inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::21f:1fff:fee9:9e2f/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:8418487 errors:0 dropped:0 overruns:0 frame:0 TX packets:14821646 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1444570033 (1.3 GiB) TX bytes:1981938726 (1.8 GiB) Interrupt:53 Base address:0x6000 This is the output and i want to configure two subinterface , one p21p1:1 and the other eth0:1 with ip address in the same subnet as the primary interface. When i create files in network script this can't work.
How did you manage to have one device with the old naming scheme (eth0) and one device with the new namig scheme?