Red HatThis forum is for the discussion of Red Hat Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hii all I am new to RHEL, plss help me to set up my static network connection
Here are my details :
IP : 172.16.152.137
Subnet : 255.255.255.192
Gateway : 172.16.152.191
Primary DNS : 172.16.0.1
to configure i took the following steps according to my knowledge
I entered IP, Subnet, Gateway there
& when i see #ifconfig eth0
it's shown there & then to setup my DNS i modified /etc/resolv.conf
now it reads
# made by SOMETHING SOMETHING (i tried a PPPOE connection once)
# search localdomain
but after this setup when i restart my network
#service network restart
while bringing up the eth0 the following message is displayed before [OK] -
RTNETLINK answers : Invalid Argument
now it seems either this setup is wrong or not sufficient to set up the connection, whenever i try to ping 172.16.0.1 it showing
connect : Network is Unreachable
well let me tell you, i dont know much about network, i am taking internet from an ISP who gave me these details to set up my net connection, in their side they must use router but i dont know the details of it, i can set up my net using these datas in windows,Fedora Core 9(though i used GUI tools)but here i tried everything of my knowledge but in vain,
btw i tried stopping my firewall and then ping the network but the results are same
Yeah i am provided with this informations only, i hv rechecked & yeah it's broadcast address, i figured that out before, it's odd but i dint understand it's implication,
rite now i am accessing net from fedora core 9 from my desktop with the same connection i am posting details of this machine -
eth0 Link encap:Ethernet HWaddr 00:24:21:32:96:76
inet addr:172.16.152.137 Bcast:172.16.152.191 Mask:255.255.255.192
inet6 addr: fe80::224:21ff:fe32:9676/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8255 errors:0 dropped:0 overruns:0 frame:0
TX packets:8182 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:7137720 (6.8 MiB) TX bytes:1428544 (1.3 MiB)
this one matches with my laptop output (RHEL where i want to configure the connection)
but /etc/sysconfig/network-scripts/ifcfg-eth0 is different here
# nVidia Corporation MCP61 Ethernet
If you set DHCP in RHEL also, it should work like on Fedora.
If you want to set it manually, then see the output of "ip route" command and use IP from last row.
[root@kancelarija ~]# ip route
xxx.yyy.219.88/29 dev eth0 proto kernel scope link src xxx.yyy.219.91
192.168.204.0/24 dev vboxnet0 proto kernel scope link src 192.168.204.100
169.254.0.0/16 dev eth0 scope link
default via xxx.yyy.219.94 dev eth0
IP in the last row with default route (xxx.yyy.219.94) is my gateway address.