Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello folks,Iam a novice in Linux, but I almost now my way around by now without getting lost.I own an internetcafe which has 7 PCs, on of the client computers if installed Red Hat 9.0 KDE environment, I ve got a dual boot system with win xp and redhat, Iam doing this as a test to see if I use linux for my internet cafe. The problem is that ive got no idea how to configure my computer to access the internet through the network. I use static IPs normally and the ip of the computer in question is 192.168.10.6 (in my xp configuration), and this computer gains access to the internet through the server which has the IP 192.168.254. The dns server of the client is 192.168.10.254 ( in the xp configuration) and the subnet mask is 255.255.255.0( in the xp configuration), the default gateway is 192.168.254( in the xp configuration).
So if anyone of you guys could kindly be of any assistance I would be very thankful
I strongly belief that if you would have searched (google, red hat homepage, this forum) you would have found the solution.
Just read the red hat documentation and you will find how to set that.
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
is the network interface up?issue
ifconfig -a
and post the results. what are the firewall settings on the linux machine? i'd turn it off until you get things working? how about the firewall on the gateway?
good luck.
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
sorry for missing this but user arno was ontrack w/his post about the alias on the nic. i also believe you have made some typos during configuration so lets start over first read this entire post and choose what will suit your needs before even as much as opening a terminal. that said here are some methods to get you up
try this, issue
ifconfig eth0:1 down
then issue
ifconfig eth0 down
now thats done issue
ifconfig eth0 192.168.10.6 netmask 255.255.255.0 up
after that you'll need to add your default gateway, issue
route add default gw 192.168.10.254 eth0
finally you'll need to add your dns server to /etc/resolv.conf open a text editor as root then open
/etc/resolv.conf
edit the file
nameserver 192.168.10.254
alternatively as arno suggested you could run redhat-config-network then edit accordingly, or you could manually edit your
/etc/sysconfig/network-scripts/ifcfg-eth0
file and make the noted changes above there. you'll also need to edit
/etc/resolv.conf
as noted above. hope something here gets you going. those are about all of the tools and possibilities i'm aware of. one last note don't forget to restart the network after manually editing any files related. the changes will not take effect until this happens if you take that route.
good luck.
Hi arno and a special Hiiiiiii to PEACEDOG, Iam sending this reply from my Linux distribution, everything is allright here, thank you guys for your support.
PEACEDOG rulllllllllllllllllllleeeeeeeeeeeeeeeZzZzZzzzzzz
I have a lan with 2 computers. My gateway is running iptables (masquerading) and shares connection to the internet for another laptop. my Laptop can connect to the internet but cannot access www.hotmail.com,www.mappy.fr and some others; though my gateway can connect to them. Any idea of this problem?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.