Networking Forums

Networking Forums > Computer Networking > Linux Networking > Can't configure gateway and dns server in redhat 6.2

Reply
Thread Tools Display Modes

Can't configure gateway and dns server in redhat 6.2

 
 
Mauricio Tavares
Guest
Posts: n/a

 
      08-13-2007, 10:07 AM
In redhat 6.2 (yes, I have to use that version in this specific
machine... at least for now) where does it write down the network info
when you have set it up for static IP? I used linuxconf to setup ip,
netmask, gateway, and dns. But, it seems only to only change the ip and
netmask; default gateway and dns are not defined. I only know of
/etc/sysconfig/network; any other place this stuff could be configured?
--
Mauricio raub-kudria-com
(if you need to email me, use this address =)
 
Reply With Quote
 
 
 
 
Robert Harris
Guest
Posts: n/a

 
      08-13-2007, 10:38 AM
Mauricio Tavares wrote:
> In redhat 6.2 (yes, I have to use that version in this specific
> machine... at least for now) where does it write down the network info
> when you have set it up for static IP? I used linuxconf to setup ip,
> netmask, gateway, and dns. But, it seems only to only change the ip and
> netmask; default gateway and dns are not defined. I only know of
> /etc/sysconfig/network; any other place this stuff could be configured?


I believe they are still in the file "ifcfg-eth0" - do a find for it
from /etc/sysconfig

Robert
 
Reply With Quote
 
Mauricio
Guest
Posts: n/a

 
      08-13-2007, 12:53 PM
On Aug 13, 6:38 am, Robert Harris <robert.f.har...@blueyonder.co.uk>
wrote:
> Mauricio Tavares wrote:
> > In redhat 6.2 (yes, I have to use that version in this specific
> > machine... at least for now) where does it write down the network info
> > when you have set it up for static IP? I used linuxconf to setup ip,
> > netmask, gateway, and dns. But, it seems only to only change the ip and
> > netmask; default gateway and dns are not defined. I only know of
> > /etc/sysconfig/network; any other place this stuff could be configured?

>
> I believe they are still in the file "ifcfg-eth0" - do a find for it
> from /etc/sysconfig
>
> Robert


Thanks for the info! I found the bastard hiding as /etc/sysconfig/
network/ifcfg-eth0. I added NETWORK and GATEWAY entries, just for it
not to work. "ifconfig eth0" shows me the card, but if I use dmesg,
I find an error message I have never seen before:

raub> dmesg | grep eth0
eth0: 3Com 3c905C Tornado @ 0xec80, ***INVALID CHECKSUM 00ae***
MAC_Address, IRQ11

Smells like driver issues. What do you think?

 
Reply With Quote
 
Mauricio
Guest
Posts: n/a

 
      08-13-2007, 12:56 PM
I forgot to add: the card has no problems when I boot the machine
with, say, knoppix.

 
Reply With Quote
 
Robert Harris
Guest
Posts: n/a

 
      08-13-2007, 01:51 PM
Mauricio wrote:
> On Aug 13, 6:38 am, Robert Harris <robert.f.har...@blueyonder.co.uk>
> wrote:
>> Mauricio Tavares wrote:
>>> In redhat 6.2 (yes, I have to use that version in this specific
>>> machine... at least for now) where does it write down the network info
>>> when you have set it up for static IP? I used linuxconf to setup ip,
>>> netmask, gateway, and dns. But, it seems only to only change the ip and
>>> netmask; default gateway and dns are not defined. I only know of
>>> /etc/sysconfig/network; any other place this stuff could be configured?

>> I believe they are still in the file "ifcfg-eth0" - do a find for it
>> from /etc/sysconfig
>>
>> Robert

>
> Thanks for the info! I found the bastard hiding as /etc/sysconfig/
> network/ifcfg-eth0. I added NETWORK and GATEWAY entries, just for it
> not to work. "ifconfig eth0" shows me the card, but if I use dmesg,
> I find an error message I have never seen before:
>
> raub> dmesg | grep eth0
> eth0: 3Com 3c905C Tornado @ 0xec80, ***INVALID CHECKSUM 00ae***
> MAC_Address, IRQ11
>
> Smells like driver issues. What do you think?
>


Yes. But I think it should still work - google for the message.
Otherwise move to a system that is less than seven years old!

PS I forgot to say that DNS info is in /etc/resolv.conf in a line like:

nameserver 192.168.0.1

with the correct IP address.
 
Reply With Quote
 
Mauricio
Guest
Posts: n/a

 
      08-13-2007, 03:39 PM
On Aug 13, 9:51 am, Robert Harris <robert.f.har...@blueyonder.co.uk>
wrote:
> Mauricio wrote:
> > On Aug 13, 6:38 am, Robert Harris <robert.f.har...@blueyonder.co.uk>
> > wrote:
> >> Mauricio Tavares wrote:
> >>> In redhat 6.2 (yes, I have to use that version in this specific
> >>> machine... at least for now) where does it write down the network info
> >>> when you have set it up for static IP? I used linuxconf to setup ip,
> >>> netmask, gateway, and dns. But, it seems only to only change the ip and
> >>> netmask; default gateway and dns are not defined. I only know of
> >>> /etc/sysconfig/network; any other place this stuff could be configured?
> >> I believe they are still in the file "ifcfg-eth0" - do a find for it
> >> from /etc/sysconfig

>
> >> Robert

>
> > Thanks for the info! I found the bastard hiding as /etc/sysconfig/
> > network/ifcfg-eth0. I added NETWORK and GATEWAY entries, just for it
> > not to work. "ifconfig eth0" shows me the card, but if I use dmesg,
> > I find an error message I have never seen before:

>
> > raub> dmesg | grep eth0
> > eth0: 3Com 3c905C Tornado @ 0xec80, ***INVALID CHECKSUM 00ae***
> > MAC_Address, IRQ11

>
> > Smells like driver issues. What do you think?

>
> Yes. But I think it should still work - google for the message.
> Otherwise move to a system that is less than seven years old!
>
> PS I forgot to say that DNS info is in /etc/resolv.conf in a line like:
>
> nameserver 192.168.0.1
>
> with the correct IP address.


And I forgot to say the resolv.conf file was ok. Now, it turned out
that the driver for that card did not like the card, so I compiled and
installed a newer driver and now it is happy. All is left is to get
ssh to work (as in connecting to said machine) and I will be good for
now.

Thanks for all the help! =)

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to configure Gateway func between 2 ifaces, one with static IP,other with DHCP b_dutta Linux Networking 2 07-31-2008 12:18 AM
Redhat Linux 8 and Redhat Enterprise Linux 4 printer not configure Niraj Linux Networking 0 12-06-2006 04:51 AM
POP SERVER PROBLEM IN REDHAT Simon Lee Linux Networking 3 08-29-2005 08:42 AM
redhat web server not connectable Ren Linux Networking 0 02-26-2004 02:33 PM
Default Gateway Dropped after PPP LCP Configure robertys Windows Networking 0 07-29-2003 12:39 AM



1 2 3 4 5 6 7 8 9 10 11