Re: ifconfig add -> resolver error
"Mohd.Irfan R Khan" <[email protected]> Sat, 28 Sep 2002 09:21:31 +0530
| Newsgroups | gmane.linux.redhat.release.zoot |
|---|---|
| Message-ID | <[email protected]> |
can u use netconf and add the desired ip and then restart the service may be this should solve ur problem as u have not mentioned whether u want to give multiple ip addr. to single nic or just to change the current ip I dont think DNS has something to do with this ----- Original Message ----- From: "Jason Pratt" <[email protected]> To: <[email protected]> Sent: Thursday, September 26, 2002 2:28 AM Subject: ifconfig add -> resolver error > Hi. I've been having an issue with ifconfig when adding an ip address. > it goes like this: > > > ifconfig eth0 add 192.168.1.9 > > 192.168.1.9: Resolver Error 0 (no error) > > the current interface configuration is as follows: > > eth0 Link encap:Ethernet HWaddr 00:02:55:9C:20:D1 > inet addr:192.168.1.101 Bcast:192.168.1.255 > Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:1666749 errors:0 dropped:0 overruns:0 frame:0 > TX packets:472 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:100 > Interrupt:28 Base address:0x2080 Memory:f886e000-f886ec40 > > eth1 Link encap:Ethernet HWaddr 00:02:B3:5D:75:EA > inet addr:192.168.2.101 Bcast:192.168.2.255 > Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:415752118 errors:0 dropped:0 overruns:0 frame:0 > TX packets:399736278 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:100 > Interrupt:20 Base address:0x3000 Memory:f8870000-f8870c40 > > eth1:0 Link encap:Ethernet HWaddr 00:02:B3:5D:75:EA > inet addr:192.168.2.100 Bcast:192.168.2.255 > Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > Interrupt:20 Base address:0x3000 Memory:f8870000-f8870c40 > > eth2 Link encap:Ethernet HWaddr 00:02:B3:5D:75:EB > inet addr:192.168.3.101 Bcast:192.168.3.255 > Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:2251714 errors:0 dropped:0 overruns:0 frame:0 > TX packets:3478172 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:100 > Interrupt:21 Base address:0x3040 Memory:f8872000-f8872c40 > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > UP LOOPBACK RUNNING MTU:3924 Metric:1 > RX packets:275 errors:0 dropped:0 overruns:0 frame:0 > TX packets:275 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > > > routing looks like this: > > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface > 192.168.1.101 0.0.0.0 255.255.255.255 UH 0 0 0 > eth0 > 192.168.3.101 0.0.0.0 255.255.255.255 UH 0 0 0 > eth2 > 192.168.2.100 0.0.0.0 255.255.255.255 UH 0 0 0 > eth1 > 192.168.2.101 0.0.0.0 255.255.255.255 UH 0 0 0 > eth1 > 192.168.3.0 0.0.0.0 255.255.255.0 U 0 0 0 > eth2 > 192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 > eth1 > 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 > eth0 > 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 > lo > 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 > eth0 > > > > the nameserver in resolv.conf is reachable and working correctly. not > sure what else to include. ifconfig is the version 1.54 supplied with > the release. let me know if you can help! > > ::ja > > > > _______________________________________________ > Zoot-list mailing list > [email protected] > https://listman.redhat.com/mailman/listinfo/zoot-list >