Link to home
Start Free TrialLog in
Avatar of GreatOne
GreatOne

asked on

Need Help setting up Networking

Right now i have my computer set up to run WIn98 and LINUX. I have networking installed on WIN98 and want to install it onto LINUX. But I have no idea how to do it? I am running Red Hat 5.1. can someone please help me? what information do i need to set it up?
ASKER CERTIFIED SOLUTION
Avatar of jreese
jreese

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of GreatOne
GreatOne

ASKER

Jim,
I forgot to mention that I get network access via a LAN. So how would i set up linux for this? I'm guessing the two scripts you gave me won't do this.

Thanks
You need to set up your Ethernet card with ifconfig. This is usually done in one of the scripts in /etc/rc.d. You can issue the following command to get things going:

/sbin/ifconfig eth0 209.1.2.3 broadcast 209.1.2.255 netmask 255.255.255.0

substituting your own proper numbers for the ip address, broadcast and netmask.

Then you need to add a default route:

/sbin/route add -net 209.1.2.0 netmask 255.255.255.0

Hope that helps some more. Let me know if you need more specific info, and I can tailor it for you.

Jim
Ok,
One last thing. I don't have a static IP address, it's dynamic. How would I get the broadcast value? I got the other values by using winipcfg in Windows.
Thanks
The broadcast value is usually 255.255.255.0, but you should check with your ISP/network admin.

Jim
Err--scratch that last comment. I meant that it's usually the same as your IP, but the last octet is 0. So, just use your IP address, substituting 0 as the 4th number.

Jim

Hey Jim,
Thanks for all the help. Everything works great. Here are your points, you earned it.