Ubuntu Networking :: Connectivity Between Two Network Using Ubuntu As Router
Nov 28, 2010
I actually have two networks (192.168.100.0 and 192.168.200.0) and configured ubuntu as a router. Now the problem is I can ping both ip blocks from router machine but can't ping from one network to another using router.
View 1 Replies
ADVERTISEMENT
Nov 10, 2010
To be brief, I am having intermittent connectivity issues with a wired connection to a WRT54G2 router. I have no such issues if I am plugged straight into the modem. My wireless persists throughout the outages and they usually require me to restart the interface on my machine. I have used Wicd Network Manager and Ubuntu's out-of-the-box Network Manager.
hostname -rs
Code:
Linux 2.6.32-25-generic
ifconfig eth0 .....
Capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
Configuration: autonegotiation=on broadcast=yes driver=e100 driverversion=3.5.24-k2-NAPI duplex=half firmware=N/A latency=32 link=no maxlatency=56 mingnt=8 multicast=yes port=MII speed=10MB/s
Resources: irq:20 memory:feafe000-feafefff ioport:ac00(size=64)
No errors in dmesg.
View 2 Replies
View Related
Jun 25, 2011
Wife's laptop has AR5001 Wireless Adapter laptop model is Toshiba Satellite A215
Problem : Wireless networking randomly loses connectivity and can not regain connectivity, the only apparent solution is a full power down , this is not even certain to work. The card works under Windows, she hates Windows. (I love her for this) I know it's not faulty hardware , because it will work for days on end under Windows without problems.
Things I've tried : madwifi drivers (any and all versions available) : These increase stability of the signal and seem to delay the inevitable however it still happens. When using these drivers the only option is to unload them modprobe -r then reboot then remove them again and re add them. It makes no sense why this works, and if I don't remove them prior to rebooting it will not work.
ATH5K drivers : These are pretty much junk, results are unpredictable at best, sometimes it will work perfectly for a few hours, sometimes it will not work at all. Nothing is repeatable, I can't seem to force whatever condition is causing this. rfkill does not show the wifi being blocked (hard or soft), unblocking it anyway does nothing, only way to make this work and it's iffy is to fully power down wait 5-10 minutes turn it back on and it MAY decide to work.
Firmware update : Updated the Toshiba BIOS to the latest version of the firmware 2.0 no joy here either. Same issue both sets of drivers.
Tried different distros and kernels : I've tried Mint 9, 10 ,11 ; Ubuntu 10.10, 10.04 , 9.10 and 11.04 (which is currently installed) , Fedora and OpenSUSE. All are giving the same problems. I have also tried a slew of different kernels no joy from any of them (I'm not at the computer with the issue now I will post exactly what kernel versions I've used when I have access to the machine).
Another useful bit of information, the hard switch to disable/enable wifi WILL disable it but turning it back on does absolutely nothing. The hotkey does nothing at all. The bios does not have an option to disable or enable the wireless card.
I will also post the typical lsmod , lspci , iwconfig all that good stuff when I get back to the computer in question. I'm probably just going to buy a PC card for it and give up on that one, but this is driving me insane and I would really like to see it resolved even if I do replace the hardware.
View 3 Replies
View Related
Aug 24, 2010
Trying to get the wired nic working so I can troubleshoot the wireless. I cannot get any kind of network activity. Been searching so I will post a little information that seems to be common with my situation.
lshw -C network
reveals:
WARNING: you should run this program as super-user.
*-network DISABLED
description: Ethernet interface
product: 82562EZ 10/100 Ethernet Controller
vendor: Intel Corporation
[code]....
View 9 Replies
View Related
Apr 24, 2010
I'm having trouble getting my network set up the way that I want it/had it. You see, when I first set up my network, I just had my cable modem going directly to my standard wired router (A D-Link DI-604), which had DHCP,and was connected to all of the computers on my network. I had one switch hooked up to one of the ports of the router, but this was a regular switch, and it would not try to assign IP addresses, it would just pass through the DHCP info as I wanted.
Now however, my network setup has changed. My room mate and I both got laptops, and we decided that we wanted to have wireless access so we didn't have to constantly plug in to the router.
Now my network is set up like this: The modem is hooked up to the router(DI-604), which is hooked up on the LAN side to our computers, our switch (which is hooked up to 3 more computers), and to a wireless router card (A Gigabyte GN-BC01).
The wireless router card has two jacks for ethernet. One for WAN, and one for LAN. The LAN side we have plugged only into the computer in which the card is installed.
Now the problem is this: The wireless router card comes with DHCP by default, and it's assigning addresses to the laptops and to the computer hat it's in, and worse, the IP addresses are on a different subnet than that of the main dlink router. The Main (dlink) router assigns addresses from 192.168.0.1 (itself) to 192.168.0.254, while the wireless router card assigns addresses from 192.168.1.1 to 192.168.1.254 (itself).
Because of this, I cannot access services on the wireless network from my wired network or vice versa. The first thing I tried was setting the card to assign addresses from 192.168.0.12 to 192.168.0.253, however it just said "internal error" when I tried to do this. I decided that this may be because it sees that it was being assigned an address on it's WAN side on the same subnet. So the next thing I tried was disabling DHCP and setting the "LAN IP Address" to 192.168.0.12, hoping that the DHCP would just go through the card, like a switch. I would have set the LAN IP address to be assigned by DHCP, but this was not an option, so I decided that'd be the best thing to set it to.
Once again however, setting the LAN ip address to an address on the same subnet as that of the IP assigned to it's WAN side caused it to report an "internal error". I verified that this was the issue by setting the LAN address to several other private IP addresses to test (I.E. 10.0.0.1, 192.168.3.1, 192.168.5.12).
My question then really is: How do I set up both routers so that I can access services and computers from each network from the other network. Should I set them with different subnets and set the gateway on the wireless network to the main router? To the wireless router card? Should I put them on the same subnet? Will it know how to communicate?
Here is a link to (picture) my network diagram. Network Diagram
View 2 Replies
View Related
Oct 27, 2009
I'm having strange difficulties in setting a static ip for my CentOS 5.4 installation. If I use DHCP everything is fine, but with a static ip I have no network connectivity. I have done this many times with RedHat/Fedora/Ubuntu etc. with no problems and now I have no idea what I'm missing or doing wrong. I have tried to set ip as 192.168.1.20 (anything below .100 will do). GW is 192.168.1.1 and NM is 255.255.255.0. This is all I have had to use with other distros, but now when I set these I cannot even access my routers admin page or ping it (192.168.1.1). (I just did this with Vista on my other machine and all worked fine).
View 13 Replies
View Related
May 4, 2010
Basically, I wanted to use the Bootp (PXE) protocol to boot a machine (my laptop) from my network instead of using USB/DVD boot medias to reinstall if need be. My router being a piece of crap, I couldn't setup the DHCP server to allow PXE packets. Confirmed from the manufacturer that it is not possible. Well for a $140 router, you would expect the opposite. Anyways, here I am with a small machine setup with Slack, no desktop environment (only CLI) and connected to my router (which I deactivated the DHCP) so the machine can act as a DHCP server. It works very well. However, I would like to install a few other utilities into that machine and for them to work, I need to put the machine between my cable modem and my router. Basically, here's the topology from outside):
Internet (ISP) --> Modem --> DHCP machine --> Router (no DHCP - acting as a switch) --> computers & printers
The problem is that I cannot connect to the modem from the computers on the network. Also I cannot access the internet (go on the WAN side) from the computers. From the computers (namely my laptop), I can ping the router, but cannot ping the interface where DHCP broadcast. Also I cannot ping the modem. From the router (using the web config page), I can ping the DHCP broadcast. From the DHCP machine, I can ping the modem. In the DHCP server, I setup the eth0 (the interface where the modem connect to) as a DHCP assigned IP so it can obtain the IP from the modem. The eth1 (the interface where DHCP broadcast) is static. All my machines obtains a IP from the DHCP machine without a hiccup.
View 13 Replies
View Related
May 26, 2009
I am having a problem with when I bind a static IP to my NIC I loose all network connectivity but, if i leave it set to dhcp it works fine. I've gone over all my settings a thousand times and they are all correct. Has anyone else had this problem or give me a hint as to what the problem might be?
View 2 Replies
View Related
May 28, 2011
I just installed F15 on a laptop that previous had F12 working well. During install, it finds my wireless card and seems to set it up fine. The full install ran with the wireless active without any problem that I could see. Now, when I start up, I see Network Manager tells me that the wlan is active, but it doesn't show my specific network. If I click on the NM tray icon and open up the panel, my network is shown but it is not "active".
I can double click on it and it will become active - shows the little globe next to the antenna. This works fine for about 2 web pages worth and then FireFox 4 stops being able to find web pages. If I go back to the panel, double click on my wireless network (which looks like it is active already), and reactivate it, I can get the page I was looking for in FireFox, but within a couple of minutes it will stop.
Likewise with yum, while I'm installing software, I'll occasionally get errors like this:
[URL]: [Errno 14] curl#6 - "Couldn't resolve host"
If I reactivate my wireless network in the NM panel, it continues fine. Other computers/phones connected to this network seem to work fine. Is NM known to be problematic in F15?
View 14 Replies
View Related
Feb 28, 2010
I am running Fedora 12 32-bit on an Intel Core2 Duo system. I just installed some recent updated, and after starting the computer, I no longer have any network access, either to my local network or the Internet.
I'm not sure what information to provide at the moment that will be helpful in diagnosing this problem.
What do people know about how I can restore network connectivity to my computer?
View 12 Replies
View Related
Sep 4, 2009
I wanted to know if i can install mrtg on a client computer in network and measure the network's router traffic.i know that it can be installed on the server.
View 5 Replies
View Related
Jun 27, 2010
I'm trying to get online on my laptop, I just installed Ubuntu 10.04 (Side by side with Windows 7.) I'm looking over the networking help files, as well as the troubleshooting and nothing seems to be working. [URL]. From this troubleshooting guide it tells me to open the terminal and type the command "sudo lshw -C network" and when I do, it asks me for my password but when I try to type it, nothing comes up. So I run it without typing sudo. It says "*-network DISABLED" which in the troubleshooting guide means that my router is off, but I'm clearly online on this computer as of right now.
View 3 Replies
View Related
Aug 14, 2010
I am thinking of moving the router behind a server and connecting the server directly to the internet via a modem. Are there any security issues related to doing this? or other things I should be aware of. Iptables are implemented on the server blocking access on unused ports.
View 2 Replies
View Related
Jan 14, 2010
I am running ubuntu server x64 as a router. I currently have 2 LAN cards, eth0 and eth1. and I want to add wireless capabilites to the machine.I was wondering if any of you know which card I could use?I want it to be supported in ubuntu server and it must be n-draft, as it is to replace a Edimax n-draft router.
View 1 Replies
View Related
Feb 25, 2011
I'm on opensuse 11.4 (11.3 won't work with my monitor).
My computer gets internet through wireless and I want to share that internet through its ethernet port. So far I've tried using Knetworkmanager to create a network bridge between my wireless and wired connections. I created a new wired connection and shared it using the ip address settings. I was able to get both connections active, but the device hooked up via ethernet had no internet connectivity.
I also tried this command:
echo 1 > /proc/sys/net/ipv4/ip_forward
but another test resulted in the same fashion (no internet on wired). I believe anything I add to /proc should have an immediate effect, correct?
View 9 Replies
View Related
Oct 16, 2010
I had Kubuntu 64-bit installed and decided to try OpenSUSE instead as I was having problems getting the audio to work on Skype. After installing OpenSUSE 11.3 (64-bit), I do not have network connectivity (Ethernet or Wireless)? Neither adapter can be detected? I thought the install would be fairly straightforward as Kubuntu 64-bit detected all the hardware.
View 6 Replies
View Related
Jan 14, 2010
just installed ubuntu in 1 of my boxes is an old compaq presario v2000. Is running dual boot with XP, the problem is i dont have internet connection(wireless and wired) with Ubuntu but i do with XP. I read like hundreds of posts from diferent forums and i wrote all crazy commands in terminal but aint working. I tried directly trough the modem (motorolla 2210)and with the router(netgear wgr614) via wired and wireless and aint working either. For some reason ubuntu doesnt request an ip adress from the router or the router dont asign an ip adress to my linux box.
View 7 Replies
View Related
Feb 8, 2010
To start off I have a Rosewill rnx-n2x wireless adapter and a Dlink 4500 router. The problem is, the wireless network manager detects every wireless router in the neighborhood, except mine. I see this persons, and this persons, but no "My router Not yours". I even tried doing the hidden network setup and still nothing.
I have read that the rnx n2x isnt supported by linux, although I've seen solutions to make it work (which didn't work, mkdir command kept getting denied during make) link to what I'm talking about: [URL]. What I don't get though, is that if the rnx n2x isnt supported by linux, wouldn't I not be getting my neighbors connections to begin with?
View 1 Replies
View Related
Jan 7, 2011
I currently have an Airport Extreme connected directly to my cable modem but have been wondering if I should actually connect direct to my proxy server first. The reason I am asking is because I run multiple web servers for web hosting and I have a proxy server setup that directs traffic to the appropriate computer based on domain names.
I have my router connected to my cable modem, and then all of my computers are connected thru the router. To me it would make more sense to have my proxy server be the first to connect and then thru a second ethernet card connect to the router. I also have a 5 port switch on order as well. So basically I'm asking for opinions now, in preparation for making some adjustments to my network and servers.
View 3 Replies
View Related
Jun 14, 2010
I have a Linksys router configured via Windows 7 and have to other PC's using Ubunto, and would like to share folders on the 2 Linux boxes with the Windows Laptop. I can see the windows network through the Linux machines but not vice-versa. I also have a Konica 1400W printer connected to the Linux box but can't get the W7 laptop to find it.Sharing message box states I haven't installed the correct sharing packages, but cant find them
View 2 Replies
View Related
Nov 25, 2010
Right so yesterday my internet worked fine. Today - no connection at all. The light for my cable on the router doesn't even show up. I originally had indicator-network installed, so when the internet first stopped working, I tried a few other options such as tethering to my phone via usb and bluetooth (which I have successfully used in the past). However, these didn't work, and I figured that as connman is still in beta, maybe that was why. So I reinstalled network-manager and network-manager-gnome via a usb stick, uninstalled indicator-network, and rebooted the computer. Still no internet.
When I click on the applet, it says "No network devices are available". This is odd, as I definitely have a network device... it is part of the motherboard. So I thought I'd do the SMARTlan test or whatever it's called. It's part of my BIOS, so I ran that and it returned results that I (kinda) expected: when the cable wasn't plugged in, it returned one set of results. When it was only plugged into my computer (and not the router), it returned another set of results. And when it was plugged into both my computer and the router, it returned a third set of results. So that leads me to believe the cable itself is fine.
And when I move the cable to a different port on the router, nothing changes. The corresponding light still doesn't come on. Network-manager, telling there are no network devices. The BIOS can see the ethernet port and the cable. And the router is functioning perfectly for my parents' computer and my ps3. And I have checked the cable to my computer for physical damage - it follows the same path as the one to my ps3, and on top of that, nothing physical can possibly have happened to it in the last day. This happened once before, except I don't think the network devices were lost.
View 2 Replies
View Related
Jan 12, 2011
could set up a firewall on my linux machine? I have is to connect my router wired to the linux machine and then from the linux machine to my main computer, and obviously routing the internet connection through the linux box as a firewall. I use a Netgear DG834G router
View 9 Replies
View Related
Sep 25, 2010
Would it be possible to insert another wired network card into the router-connected computer, share the internet connection and be able to transfer files between the two?
View 1 Replies
View Related
Apr 1, 2010
I've been having a network problem that I've been able to temporarily solve by rebooting the router, but even that can be shaky at times, and it can sometimes disturb others' internet activites, so I'd really like to tackle this while I can. I had an old thread about this, but it's ancient history by now, and plus which, I've got a bit more Linux experience and patience than I did before.
The basic problem is that NetworkManager will associate and connect to my home wireless network, but a) it won't let me ping the router or anywhere else ("Destination Host Unreachable"), and b) the connection lasts for maybe a couple minutes at most. If I reset the router, however, 9 times out of 10 it will associate and connect successfully and I can get online, but I have to run a constant ping to the router with a 10-second interval, otherwise it drops the connection, unless I'm doing a lot of other heavy network activity.
ping 192.168.1.1 (the router):
Code:
I've tried wpa_supplicant, but this is what I get (it's apparently unsuccessful...? ESSID/MAC addresses censored where necessary):
Code:
The last prompt line is included because I cancelled it myself; it didn't abort on its own. If left unmonitored, it basically keeps doing this over and over, with no visible network activity at all.
With NetworkManager, I can keep selecting the network's ESSID over and over, and it seems to reconnect, but I still can't ping out anywhere. I'm using a Netgear WN111v1 wireless adapter with ndiswrapper and the Windows drivers. I have no idea what the chipset is, and I doubt that Linux drivers exist for it, even if I knew what it was. The router is using WPA2 security (hence my trying wpa_supplicant)
lsusb:
Code:
ifconfig wlan0 (while connected; IP/MAC addresses censored where needed):
Code:
ifconfig wlan0 (while not connected; IP/MAC addresses censored where needed):
Code:
Code:
I only include this for format checking purposes. The commented out "psk" is the actual text passphrase, while the uncommented one is (presumably) a hex representation of the same key. Is this correct? I've never done this with wpa_supplicant before, I've only used NetworkManager (which is a pain in the @$$ because it requires X to run, and so it disconnects any time I log out/back in ).
Is there any hope of getting my wireless connection permanently working, so that I don't have to reset the router every time I need to reboot or log out/back in?
View 15 Replies
View Related
Jun 2, 2011
I can't get even a simple NAT router setup to work. The network topology is dirt-simple:
Code:
ISP gateway X.Y.Z.65 ->
Linux NAT router box X.Y.Z.108 (eth1) and 192.168.0.138 (eth0) ->
Windows Vista laptop 192.168.0.2
I'm running Debian "squeeze" - plain vanilla install with Gnome.
[Code]....
View 1 Replies
View Related
Jul 14, 2011
I've just installed Ubuntu Desktop and connected the ethernet cable, but I don't have network connectivity. Why?
View 7 Replies
View Related
Dec 22, 2010
I have an existing network that connects to the 'net via a Linux-based firewall. That system has two ethernet interfaces: one to the DSL modem and the other to the internal switch. Future plans were for adding a second "internal" interface with the idea of moving servers into that (think DMZ). But while I was planning for that, the missus has decided she wants to pick up a Windows laptop and would like to be able to use it wirelessly at home. I have access to a (free!) Netgear WGR614L and was hoping it would work. Unfortunately, I'm unsure how to add the wireless capability to our network.
Questions:
Is it best -- or even possible -- to use one the wireless router for this?
Is it possible to merely hang the Netgear router off the internal switch and set it up for the wireless users? Or...
Would I need to add another ethernet interface to the firewall and hang the router off that? The address of this new interface would act as the default route for the wireless users. Then I'd need to (I assume) add more rules to the iptables configuration to deal with the new network. (I sort of like this option -- it it's actually feasible -- as I can easily shut down any wireless access by logging into the firewall and stopping the interface connecting the wireless router.)
I've taken a look at the setup guide on the CD that came with the router and it assumes that you have a modem connecting your PC to the internet. The instructions have you placing the wireless router between the modem and that PC. For our network, that would have the wireless access coming into the "dirty" side of the firewall. (Not what I would like.)
View 4 Replies
View Related
May 15, 2009
Our ISP provides us with Layer 2 hardware (Modem?/Switch? (Hatteras)) for our leased line and internet access. I have been told that I should set up a VLAN capable router to separate the internet traffic from the internal traffic. I found that linux is capable of VLAN routing. Nice!
I have setup opensuse 10.3 put in two NICs and did the following
vconfig add eth0 10
vconfig add eth0 20
ifconfig public.ip.add.ress netmask 255.255.255.252 eth0.10 up
ifconfig 192.168.0.1 netmask 255.255.255.0 eth0.20 up
Plugged this NIC into the HATTERAS hardware (with a straight cable), and thought that this way I should be able to ping the public gateway or any ip out on the internet. My ISP is telling me that I should create a VLAN trunk to be able to 'use the internet', but as I understand in linux if I create any number of VLANs on one NIC they are already trunked. I also got the info, that the traffic is tagged, and I can separate the traffic reading the tags. I already read that some NICs are not able to VLAN because they are not able to handle the increased packet size.
Also that the MTU setting is important (dono' the exact value though, only that its important). I thought that a linux machine can act as a router and firewall in such a case, because proprietary switches/routers use linux as embedded os. This is my first meeting with VLAN so if this whole post does not make any sense or you think that I just need to RTFM more then tell me! I also have some (3) Dlink 3226 Layer2 switches around, but I think it would be waste to use a 24 port switch on this subject.
View 12 Replies
View Related
Nov 19, 2010
I have a Debian machine up and running with tree network interfaces. This is what i want it to work with.
eth0 = dhclient from ISP (external)
eth1 = acting as dhcpserver with iptables, for sharing eth0 to "int network A)
eth2 = dhclient to connect to an netgear router that has similar ip adress suffix as eth0
[code]....
View 3 Replies
View Related
Aug 9, 2010
In my "computer room" I have an ATT U-Verse TV decoder box and my computer connected to a Netgear Switch. The third port on the switch connects to the ATT router. I've just noticed that when I power on the U-Verse TV box I start getting a lot (200-250 KiB/s) of received packets on my Debian Lenny machine as shown in the System Monitor app. I don't show any outgoing traffic in response. That explains why the lights on the switch are blinking at the same rate for both devices. So, what, if anything, is this telling me? Is this normal, or is the ATT router spamming my Linux machine for some reason? Is this a potential problem?
Added: Or is this just telling me that the NetGear FS-105 is not actually an ethernet switch?
View 4 Replies
View Related