Fedora Networking :: Configuring NAT On Desktop Computer

May 17, 2011

Yesterday i've installed Fedora 14 x64 on my desktop PC. Everything is working just fine, but then i came to the problem of sharing internet connection for other computers (strictly speaking, two laptop ones) that i use at home.

I know, there were many articles that cover that problem, but nevertheless i was unable to make the things work.

So, going to the point (i would point it out for clarify):

1) My desktop computer has two Ethernet interfaces (eth0 and eth1) and single WiFi one (wlan0), that is not used at the moment.

2) Desktop's eth0 is connected directly to the internet via cable; interface is configured to work in DHCP mode and it is working properly.

3) Desktop's eth1 is connected to the router (WRT54GL, as far as i can remember model) and it was used (under Windows XP) to provide shared internet connection; it is configured to have static IP of 192.168.0.1 with mask of 255.255.255.0 (default settings for XP I-net Connection Sharing) and i've configured it in such way in Fedora.

3) Router (connected to the eth1 in desktop) acts also as DHCP server, that assigns IP addresses for all (but already static-assigned desktop) connected computers (no mater, cable or WiFi). Newly connected computer receives IP of 192.168.0.x, where x lies within range 3..63 (1 and 2 are reserved for desktop and laptop itself, respectively), mask of 255.255.255.0 and gate / DNS of 192.168.0.1

4) Both laptops have enabled DHCP (one uses XP, while the other uses Fedora 14 32bit)

When i connect laptop, it receives IP / mask properly from router's DHCP, but i have no idea how to configure desktop to route I-net packets from eth1 to eth0. First thing i've made was to enable IP forwarding, by adding line.

Code:

Code:

For the moment i have two questions:
1) How to check whether internet packets are routed properly ?
2) How to enable (or "route") DNS ? Is there a need to configure DNS on desktop ? Or somewhat DNS packets can be "routed", since during eth0 autoconfiguration it already receives DNS addresses from i-net provider ?

View 8 Replies


ADVERTISEMENT

Networking :: Configuring 2 NIC's On Ubuntu Desktop 10.04

Apr 20, 2011

I have 2 pc's at home, neither v flashy but both more than capable of running this. Previously I had them both running XP SP2. One pc has 2 NICs in it and the second only one. So, PC1 (now running Ubuntu desktop 10.04) has the 2 NICs installed ...

1) A realtek NIC which is on 'eth1' and from which I receive internet connectivity from the router of this shared house. (2 other people connect their PCs to the internet via this router.)

2) A 3com NIC on 'eth0' which I have connected (using a crossover cable) to the Intel 'PRO100 VM' NIC on PC2.

Admittedly this took me some time to get half working. Currently I can connect to the internet through 'eth1' OR to PC2 via 'eth0' BUT NOT AT THE SAME TIME. However, If I disconnect one (by left clicking on 'disconnect' under the top of screen menu bar, then the other one will immediately work ... and visa versa.

I had this working when both PC's were running windows XP but now in trying to educate myself further I have installed Ubuntu on PC1 and am attempting the same thing. I refuse to accept that as alot of these thread responses state, that it 'can't be done'. Quite clearly it can be done since the physical connections and hardware are no different, its just about ensuring that the protocols are all correct and that I haven't done something stupid.

I am very keen to learn more about computer networks and equally keen to educate myself in the ways of Linux, in fact I am studying to gain a network qualification as we speak but at this stage its still a little confusing. I have learned an awful lot about the fundamentals of networking but the 'hands on stuff' is where I really need to test myself.

View 4 Replies View Related

Networking :: Get Internet Access On Desktop Computer Through Networking?

Sep 10, 2010

I'm not really a newbee in Linux but I am a newbee in networking. I have both a Ubuntu laptop and a Gentoo desktop computer. I have just bought me the MBR1000 Cradlepoint router and it works great with my Verizon USB 760 modem plugged in it. I can now send and receive email on my Ubuntu laptop. I like it.My Gentoo desktop computer is just sitting there with no Internet access because my Verizon modem is no longer plugged into it but plugged into the router instead. Only my laptop now has Internet access. The laptop has an integrated wireless card built in the MB but my desktop has no such capability.

Is there a way (besides buying a wi-fi adapter) to get Internet access on my desktop computer through networking so that the router would give both computers Internet access at the same? My Gentoo desktop does have an ethernet adapter that perhaps I could useThe router has several LAN ports and one WAN port, both unused.

View 2 Replies View Related

Ubuntu Networking :: Pushing A Desktop Computer Through Two Routers

Mar 26, 2010

I have two routers. One is a Verizon ProLine and the other is a Dlink. My setup is myComputer-Dlink-ProLine-Internet. I'm trying to get port 80 requests from the outside, access my http server on myComputer. I tried port forwarding on both routers, but that didn't work. I also tried to make the ProLine treat the Dlink as a DMZ, but that still doesn't work.

View 4 Replies View Related

Ubuntu Networking :: Possible To Ssh Or Remote Desktop Computer With Such High Ping Rate?

Mar 1, 2010

I have been trying (unsuccessfully) to remote access my girlfriend's Ubuntu machine to fix a few things. The problem is that she lives in Japan and I live in RI, USA! Is it even possible to ssh or Remote Desktop her computer with such a high ping rate? (average ping time is 300ms) If so why can I not connect?

View 2 Replies View Related

Ubuntu Networking :: Connect To My Home Desktop's Internet From Behind Firewalled Computer

Nov 1, 2010

I am going to a country with government managed firewalls. How can I connect to my home computer's (Ubuntu 10.04) internet connection from a computer behind these firewalls?

View 2 Replies View Related

Ubuntu Networking :: At Times Desktop Computer Can't Establish Wired Connection?

Aug 3, 2011

My desktop computer, running 11.04 (fresh install) sometimes can't establish a wired Ethernet connection. Sometimes when I boot, it keeps trying to establish, but with no luck. I keep trying to choose "Auto eth0" from the networking menu, but still, it doesn't succeed. If I reboot, it sometimes works. I can't establish a connection about half the times that I boot.

The computer is connected with a cable to a router ("Belkin Wireless Pre-N router"), and the router is connected with a cable to a cable modem.I've been using Ubuntu for a while, and I've had a problem for the past few versions (since around 10.04)? I thought that it might be some old issue that got resolved, so I did a fresh install of 11.04 today, and still have the same behaviorI'm willing to try things next time I can't get a connection, but don't know what.

View 1 Replies View Related

Fedora Networking :: Configuring A VPN From Home To Work

Feb 1, 2009

i have to work at my home in my office. For that purpose i use a laptop with Windows (i really don't know why) XP. As i moved to Fedora 10 i want to make the same thing in Fedora.. Really don't know how. i have a cable connection and a router at my home ( i posted another message mentioning the fact of my wireless connection).

At my office i have a router , a firewall and 2 servers that i am allowed to use and i have to work on them (one is an AS/400 from IBM).

View 14 Replies View Related

Fedora Networking :: Configuring IPTables To Allow Traffic Out

Apr 26, 2009

I've tried both the firewall interface that comes with Fedora and Firestarter, neither can configure as I want. So I think I'm going to have to do it by hand. In this laptop I have one 10/100 Nic and one wifi connection, at times either of them can be connected to the network. How can I configure IPtables so that any traffic is allowed out, nothing is allowed in (other than std stateful firewall replies), no icmp and that the fw logs any attempts to connect to the laptop?

View 5 Replies View Related

Fedora Networking :: Configuring A Gig NIC For 1000/full?

Sep 10, 2009

I have a Broadcom NetXtreme BCM5754 NIC and I cannot seem to get the NIC to auto link at Gig speeds. It will only link @ 100/full.

View 1 Replies View Related

Fedora Networking :: Configuring Yum To Use The Socks Proxy?

Jul 22, 2010

I have an internet connection through socks4 proxy form a server nearby to my laptop(fedora 12) i need to update and install sofwares. How to configure yum to use the socks proxy?

View 2 Replies View Related

Fedora Networking :: Configuring Wireless Connectivity?

Oct 11, 2010

May I please have some help configuring wireless connectivity?I just moved and went from connecting to a LAN infrastructure to connecting with a wireless cable modem. The modem is dual-purpose, it has two ports, one for an Ethernet cable, and an access point for a wireless connection. The ISP is CableOne. My laptop, which I use most often, is wireless capable, and I want to use the wireless feature. The laptop is running Fedora 13 KDE, with a VirtualBox virtual drive running WinXP.

I have used NetworkManager to create a wireless connection and name it. I have also used WPA encryption for this because I don't want anybody else using my bandwidth. Moreover, I have tried no encryption and WEP, all to no avail.

View 14 Replies View Related

Networking :: Configuring Internet Sharing In Fedora 12?

May 18, 2010

In windows, when I use an HSPDA modem, internet traffic will be automatically directed through it. Everything will go back to normal once broadband connection is disconnected. In fedora 12 this is not the case, internet traffic will still go through the lan interface. Is there a way to mimic windows behavior in linux?

View 3 Replies View Related

Fedora :: Eliminate Computer And Home Folder From Desktop?

Jul 2, 2010

i want to have my desktop clean but i used Fedora 13, and i want to eliminate computer and home folder from my desktop. How i do that?

View 2 Replies View Related

Fedora Networking :: Manually Configuring The Network Settings?

Mar 12, 2009

Does anyone havea good tutorial on Fedora's network scripts, how to edit them, in what order they are called, etc. What I want to do seems simple, but something in the bootup keeps changing it. Right now, I have an image of Fedora Core 7 created in a server with 2 Ethernet cards. I need to specify static IP addresses for each card. Thats simple, and I did that. Now, heres the tricky part, I need to be able to clone this image and place it onto other exact duplicates of the hardware, and have all of the settings stay the same.

What happens here, is that eth0 and eth1 are stored somewhere as devices, and upon boot on a different machine, the Fedora will mount new network cards(different MAC addresses) as eth1 and eth2. It then mvoes my ifcfg-eth0/1 to a backup, and creates two brand new network setting's files, which initialize to DHCP. This creates an issue, becuase these machines do not have monitors nor keyboards attached, nor is their a DHCP server, so its a pain when I swap the machine out, to have to go in with a keyboard/mouse/monitor and reconfigure the network settings before I can connect to it over the LAN.

So does anyone have any advice on how to do this? No matter what i tried, booting the image in a new PC caused Fedora to create two new devices and create brand new network settigns for them, both initialized to DHCP. Hell, I wouldn't care if it created brand new devices, if it would initialize them to static IP addresses that I am expecting.

View 1 Replies View Related

Fedora Networking :: Configuring Dial In Over Usb - Serial Converter ?

Jun 23, 2011

I'm trying to do something very old, but for me very necessary. I am trying to get dial in acces via a modem that is connected via a usb <-> serial converter. I am running F14. The serial port is OK. I can run minicom and access the modem and even interogate it. What I am unable to do is to get the computer to answer. Much has changed and I have not dealt with upstart and things like that (if indeed that is needed).

I believe I"m OK with 115200 communicating with the modem. I know the device is /dev/ttyUSB0.

Is ther someone who can fill in the blanks? Or, point me towards really good documentation that explains how to do this.

View 4 Replies View Related

Ubuntu Multimedia :: Find A Way To Watch Videos From Main Desktop Computer On Another Computer?

Jul 9, 2011

I've been trying to find a way to watch videos from my main desktop computer on another computer I've plugged into an HDTV. I'm such a Linux newbie that I decided to give Mythbuntu a try. It was way to complicated for what I needed, and I'm sure that some more experienced people reading my first two sentences laughed to themselves at my naivety.

What I am trying to find is simple: browsing one computer's home folder from another computer, and playing the videos therein. If there's anything like Mythvideo that requires less than half of the skill requirements, I will telepathically send love to the person that informs me of it.

View 2 Replies View Related

Red Hat / Fedora :: Computer Access From Win PC Via Shared Folder / Remote Desktop

Jun 28, 2011

My linux PC is connected at work and I was able to configure the IP to connect to the network. I need a way to access the linux computer from other windows PC in the office via shared folders and or remote desktop. I am stumbling upon "VNC" on google.

View 1 Replies View Related

Ubuntu Networking :: Remote Desktop Access "Your Desktop Is Only Reachable Over The Local Network. Others Can Access Your Computer Using The Address 127.0.0.1 Or Tabatha.local"

Feb 19, 2010

Running Ubuntu 9.10. In the Remote Desktop config dialog I get: "Your desktop is only reachable over the local network. Others can access your computer using the address 127.0.0.1 or tabatha.local." I understand this means only the loopback ip address is available. All my other machines show their true local ip address (e.g., 192.168.1.104) in this dialog. Thus I cannot log on to this desktop from other machines.

When I try to do a remote logon from another Ubuntu 9.10 box (or from an XP box using a VNC viewer), I get: "Connection to 192.168.1.102 has been closed." What steps are needed to make this machine show its actual ip address? All file sharing between the various machines is working properly and all windows shares back and forth between XP and 'nix, and among the the vaious XP boxes and linux boxes are available as designed.

View 1 Replies View Related

Fedora :: Remove The Computer, Trash, And Home Folder From The Desktop And Have Them Just In The Panel?

Jan 20, 2011

Is there a way to remove the Computer, Trash, and Home folder from the desktop and have them just in the panel? I like a clean desktop with no icons, and would like to use the top panel as a "dock" of sorts.

View 5 Replies View Related

Fedora Networking :: F15 - Configuring Wifi Card - Edimax EW-7612PIn With RTL8192SE Chipset

Aug 15, 2011

I have just installed an Edimax EW-7612PIn PCI-E Wifi card which has an RTL8192SE chipset. This chipset is not supported under current F15 kernels so I have installed the driver and firmware from source and have that working fine. The driver can see the card and I can issue 'iwconfig' commands successfully enough to see my Wifi network.

The problem I have is that I don't understand the relationship between iwconfig and wpa_supplicatant and as I'm running a headless F15 server I cannot use the NetworkManager GUI to help me. I should also note that the Wifi network is using WPA2-Personal encryption.

This is what I have done:

Configured /etc/sysconfig/network-scripts/ifcfg-wlan0 with what I think are reasonable values (based on google searches), including the ESSID, TYPE as Wireless, etc.

Configured /etc/wpa_supplicant/wpa_supplicant.conf, including using the key value returned from wpa_passphrase.

Arranged for wpa_supplicant to run from boot, using chkconfig.

However when I run 'ifconfig wlan0 up' I get the error message 'link is not ready' and indeed looking at the output from 'iwconfig wlan0' there are no configured values. I also understand that some values are configured by iwconfig and others by wpa_supplicant, however it's not clear what.

How do I permanently set iwconfig values?

How do I configure wpa_supplicant?

View 3 Replies View Related

Fedora Networking :: Configuring IPv6 (network) Tunnelling - Getting Only Internal Addresses From DHCP

Aug 25, 2011

I am trying to configure my IPv6 network. My computers are behind a Fedora gateway IPv6-configured, which is working great. But for computers inside my network, it seems I am getting only internal addresses from DHCP. Here is my ifconfig for an internal computer:

Quote: em1 Link encap:Ethernet HWaddr F4:6D:04:34:92:2B inet addr:192.168.0.184 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::f66d:4ff:fe34:922b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:744250 errors:0 dropped:0 overruns:0 frame:0 TX packets:548987 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:841392242 (802.4 MiB) TX ytes:60384500 (57.5 MiB) Interrupt:18 Memory:f7100000-f7120000

he-ipv6 Link encap:IPv6-in-IPv4 inet6 addr: 2001:470:1c:611::3/64 Scope:Global inet6 addr: fe80::cea7:b778/128 Scope:Link UP POINTOPOINT RUNNING NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:61 dropped:0 overruns:0 carrier:61 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

[Code]....

View 2 Replies View Related

Ubuntu :: Configuring Panels On Gnome Desktop?

Dec 25, 2010

I want to duplicate the panel settings from one machine to another - which configuration files need to be copied between machines to duplicate the desktop panel positions and applet loading?

View 4 Replies View Related

Software :: Configuring Remote Desktop From Windows 7 To Red Hat Enterprise 5

Feb 28, 2011

How can i make a remote desktop connection to enter to my redhat server from my windows 7 seven pc.?

View 1 Replies View Related

Fedora Networking :: Connect To F14 Using Another Computer?

Dec 14, 2010

I have F14 on a laptop and can't see the laptop screen very well, unless I put my face like right up against the glass, is there a way I can login to my F14 laptop using my windows desktop computer?

whats the easiest way to do that?

I used to use nomachine in previous versions, is that method still used in F14? can't seem to find the FreeNX package anymore.

I used these instructions in previous versions: [URL]

which you'd think would still work in F14, but not sure what happened to FreeNX

otherwise, how do you do it using vncserver? I didn't do it that way in the past because I didn't understand how.

using XFCE window manager in F14 on a windows 7 desktop

Laptop: HP Pavilion dv6-1350us

Desktop: custom build Asus computer using a 23 inch Samsung SyncMaster 226bw LCD display

View 2 Replies View Related

Ubuntu Networking :: Assigned Computer A's Static Ip To Computer C Without Changing Dhcp Setting?

Aug 18, 2010

I set up a dhcp server in the lan and assigned static ips to two computers, computer A and B, according to their mac address. Everything was running fine. But when I turned off computer A, connected computer C to the network, and assigned computer A's static ip to computer C without changing dhcp setting. Computer C was able to access the internet. When I turned on computer A, dhcp couldn't assign an ip address to it, and computer C showed an error message of ip conflict and failed to use internet. I wonder if dhcp server is able to prevent other computer from using the same static ip that is already assigned to a computer according to its mac address.

View 5 Replies View Related

Fedora Networking :: Connecting To The Internet On Any Computer In The LAN?

Mar 4, 2009

I recently set up a network of computers via Ethernet, all of which use Fedora 10. I would like to be able to get any computer on the network to hook up to the internet.(I think the solution is now figured out - see below, on page 2, "problem solved")

View 14 Replies View Related

Fedora Networking :: Run A Script After The Computer Has Been Connected?

Jan 3, 2010

I would like to run a script after I got a network connection. The reason is that I'm trying to install Dropbox on my Fedora 12 laptop, but it only works if I start it after I'm connected to the network. So, is it possible to automatically run a script after you've got the connection?

View 3 Replies View Related

Fedora Networking :: Cannot Ping Local Computer ?

Apr 30, 2010

I installed Fedora 12 on my laptop. I have a wireless connection to the internet that works fine, I attached an Ethernet cable from this laptop to a windows machine. There is a green light.

I can ping my localhost. I can ping the windows machine using it internal IP address via the router. However, the eth0 IP address does not work when I ping to it from the windows nachine. Also, I cannot ping to the windows machine using the IP address associated with the Ethernet connection.

View 4 Replies View Related

Fedora Networking :: Copying SSH Files Into Computer?

Jul 18, 2010

I have a saved a .c file on my department computer and i am able to access it through my computer via SSH. BUT I WANT TO copy and paste it into my system.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved