Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I have a LAN connected to the inter

Status
Not open for further replies.

hisham

IS-IT--Management
Nov 6, 2000
194
I have a LAN connected to the internet through Internet IP sharer device. In windows I used the LAN setting in the browser options to connect, how can do this in my Linux box?
Thanks in advance.
 
No bluedevils :)
in my Linux box i use netscape.
I was telling you how i configured it In windows..
 
What do u mean by IP sharer, are u using a Cable/DSL router, or are u NATing through a firewall?? Or do u have a windows based IP Internet connection sharing? Also what type of internet connection u have will make a difference as well. send me an email with ur response if u havent resolved this issue yet.
:)

-Johnny
 
If you had the NIC in the computer when you installed, Red Hat probably configured it.
(If you need to change the configuration, run linuxconf (open a terminal
window, su to root, and type linuxconf).

1. Under Networking, select Host Name and IP Network Devices.

2. Under adapter 1, make sure the enabled box is selected

3. set a primary name (not necessary, but never a bad idea)

4. set the adapter to use DHCP (unless you get a static IP from Verizon)

5. set your netmask to the one your ISP indicates in their Windows instructions (eg. 255.255.255.0) or go into your windows desktop, click Start, Run, type the command winipconfig, and take down the information stored there.

6. accept these settings

7. Under Name Server Specification enter the DNS servers provided by your ISP in their Windows instructions. Note that if they didn't provide DNS server names, you can set the primary name to the same name that you will set the default gateway to in the next step.

8. Under routing and gateways set the default gateway to the IP address indicated by your ISP (e.g. 192.168.1.1 or 10.0.0.1)

9. This should be all you need to get connected, though if your ISP is using PPPoE you may need to invest in a DSL router (Linksys makes a great one that can be configured using a web browser) to place between the DSL and your computer.
**************************************************************
If you want to share cable access and have a your connection on Windoze ME/XP machine:

1. Go to Network properties, select the internet NIC and go to properties, enable internet connection sharing.
2. On the linux box, open up linuxconf, go to "Networking", "Routing and Gateways", "Defaults" and put in the ip of the second (lan) interface on the windows box. Dismiss and quit and restart the network service and all should work.

If the cable resides on the Linux box :-

iptables -A FORWARD -s 192.168.0.100 -p all -j ACCEPT


I don't know whether windows will try and connect through the lan by default or whether you'd need to specify a default route somewhere. Someone else could clear this up.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top