Networking :: Isolation On A Non-router Server With Multiple Ethernet?
Jan 12, 2011
I have been working with Linux for about 10 years and I have a good understanding of IPv4 networking and routing but not so much detailed knowledge of implementation or specific networking packages.
I have a Linux system running a custom-built (Linux from Scratch) distribution and using 2.6.15 kernel. My system has 4 Ethernet controllers (eth0, eth1, eth2, and eth3). I have intentionally left out support for forwarding/routing of packets as this machine is not intended to be a router and I specifically do not want it to be able to so. My intent for the machine is to function as a server to 4 different and separate networks without allowing traffic or hosts on one LAN to access or adversely affect those on the other LANs.
My main question: is there a way to completely isolate the connections to these LANs and if so, how might I achieve it, and through what packages?
I have been having some issues:
1) Default gateway. With only a single default gateway, network requests from a LAN that is not directly connected to one of the 4 NICs and for which there may not be a static route defined, may send a response to the default gateway which is on one of the LANs connected to a different NIC than the one that I received the initial request on. Is there anyway to isolate outgoing messages to only go out on the NIC that the corresponding request was received through?
2) Default gateways. I have a requirement to allow DHCP on these interfaces. It is possible that the DCHP servers on each of the 4 LANs may provide a default gateway, but I don't see how I can make use of that. I know that there is a way to configure multiple default gateways via the iproute2 package (which is what I am using) but I don't know how to make sure that the correct default gateway is used for requests that were received on a specific interface.
View 5 Replies
ADVERTISEMENT
Sep 2, 2010
I tried to setup a connection as below but face some problem (probably route table setting incorrect). Hope if anyone could shed the light.Basically, I have a PC1 (.1) and PC2 (.130) connected via a PC router. PC router has 2 interfaces: wireless (.2) and ethernet (.129). PC1 connects to PC router via LAN cable/wireless interface, while PC2 connects to PC router via cable. This settings try to simulate 1 wireless connection along the path (and because PC2 is too old to support wireless interface, we need a PC router). These interfaces are all under same 172.16.130.x subnet.
View 3 Replies
View Related
Oct 8, 2010
My old G USB network stick died and I also cannot get my internal ethernet to pick up my router. I've tried installing ndiswrapper, but I keep getting prompted to insert the installation cd for ubuntu's Jaunt Jackalope, which is what I am currently operating. I don't have an installation disk. I installed this version a while ago via usb stick (which I no longer have). Is there any way I can install ndiswrapper without having to use a ubuntu installation disk? I'm hoping installing ndiswrapper will solve my inability to connect wirelessly to the net via either my ethernet card of the new NetGear N100 usb network stick I just purchased.
View 1 Replies
View Related
Jan 16, 2011
I recently installed Ubuntu via "wubi", and tried to set up the Wireless. After looking at a few threads, they suggested using an Ethernet cable to troubleshoot the problem. However, my laptop does not detect the router even via an Ethernet cable. I am running 64 bit(It auto-downloaded with wubi) on an Acer Aspire 5553G, and my router is a Netgear DG834G. I have an Atheros AR8151 PCI-E Gigabit controller, a Broadcom 802.11n Network adapter and TAP Win32 Adapter V9.
View 1 Replies
View Related
Oct 30, 2010
getting a VLAN router with a wan interface capable of Ethernet and AMT? something under $80-$100 pref.i need to segment a client on my home network.
View 1 Replies
View Related
Mar 1, 2010
I changed to a 4 port ethernet router (D-Link DSL-2542B Adsl2+)with intention to share Internet access with my brother (he's on Vista).Initially it all went well,but 3 days ago there were connection problems occured on the part of the ISP. Without realized the problem,I had reset the router.This morning I've been informed by the ISP that the connection has been re-established.So,I accessed the Internet via the 4 port router but failed to do so (server not found).Suspecting that the problem was from the 4 port router,I reverted to my old Adsl router (DSL-520B single port) and without any problem I managed to access the Internet back.I really need help to configure back the 4 port ethernet router to its initial state.
View 9 Replies
View Related
Dec 20, 2010
not *buntu related but what is the difference between an adsl router and an ethernet modem?
View 5 Replies
View Related
Dec 5, 2010
I have just installed ubuntu 10.04 using the wubi installer to dual-boot my machine. Under ubuntu, I am not able to connect to the internet or my router. Everything works fine under windows. I have tried to find relevant information in the forums, but nothing seems to work for me. I have tried disabling ipv6, setting a static ip, but no go. ifconfig shows no IP, dhclient results in no DHCP offers and pinging my router's IP results in Network is Unreachable.
View 9 Replies
View Related
May 27, 2011
Current: Workstation --> Wireless Router --> Cablemodem --> InternetsIPs:192.168.2.1 --> 192.168.2.5>192.168.1.5 --> 192.168.1.1>{someIP} --> InternetsSo my first link has a Class C of 192.168.2.0. I want to add a different class C also to that firstink of 192.168.3.0. The reason is my LAN traffic will be on 192.168.2.0 and traffic will be on 192.168.3.0.The wireless router can be only set up for one LAN IP, which is 192.168.2.5. Is there some way to set up a vpn or nat or bridge or something else so I can run two class C's to the router and it will pass them along? Router is the Netgear WNDR3700.
View 2 Replies
View Related
Jul 9, 2011
the title says I have painfully slow(connection times out when loading google) ethernet connection on my new pc. This comp had similar problems with the OEM windows 7 install but now it's strictly a linux box so I'm anxious to get it fixed.
I'm running Ubuntu 10.04 and Slackware 13.37, and have wireless working on Ubuntu but haven't set it up on Slack yet. The only thing I've done so far is try to change speed and duplex using ethtool but it didn't work, the settings stayed the same. I'm writing from another comp so I'll do my best to post any info you request but I'll have to use a flash drive lol
View 2 Replies
View Related
Dec 12, 2010
I have 2 LAN ports. one from the motherboard (on board) and the other from a lan card i bought a few days back. one is use for browsing the net, the other for a media player.
problem is i cant connect to both the eth0 and eth1 at the same time. i have to disconnect one of them to connect to the other. and this really gets irritating as it doesnt always work as flawlessly as it should. what am i doing wrong?
Output of "ifconfig":
Quote:
I'm on ubuntu desktop 10.10 64 bit.
View 8 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, 2011
I have 5 linux ssh servers at my office that are behind a router. How do I connect to any one specific server from outside the LAN? Do I have to port forward the router giving each machine it's own port? That seems clunky.
View 2 Replies
View Related
May 2, 2011
I'm looking with some multiple WAN links on an Ubuntu router box I am building for a project.The setup I'm trying to achieve is this:
eth0 WAN Link 1 through ADSL modem
USB Modem 1 WAN Link 2 for Failover
USB Modem 2 WAN Link 3 for Failover
[code]...
View 2 Replies
View Related
Feb 16, 2010
I recently installed Ubuntu Server 9.10 with the intent of using it as a platform for running a couple of Windows XP virtual machines along with Linux/Ubuntu.
I had no problems getting the server installed. Had no problems getting the network up and running so that I had access to both my internal network as well as external connectivity to the internet. Had no problems getting a VM installed and putting Windows XP inside of it. Had no problems setting up a bridge between the WinXP virtual machine and the physical ethernet card (eth0).
What Im having trouble with is figuring out how to bridge from multiple VMs AND Ubuntu natively through one physical ethernet card.
When I set up the bridge, it knocks out the static IP address of the ethernet card that was set up initially with Ubuntu when first installed before the VM was created and installed. Therefore, connectivity within Ubuntu natively is lost.
Similarly, am having trouble figuring out how the second VM (also going to be running WinXP) is going to get its connectivity since it doesnt seem to like me setting up 2 bridges to the same physical ethernet interface card.
I need all 3 machines to have static IP addresses and be visible/accessible from the external network for either web/mail/dns/etc servers on the Ubuntu side and for remote PC control functionality on the VM side.
I have tried setting up alias ethernet interfaces (eth0:1, eth0:2, eth0:3) with static addresses which work fine from native Ubuntu in presenting multiple IP addressees, but it seems that Im not permitted to bridge to these alias interfaces.
View 5 Replies
View Related
May 8, 2010
I connect to a Linksys Wireless-B router in my home. My connection was working fine last night, but when I booted up my computer this morning, nothing shows up in my list of available connections. I've tried disconnecting the router from its power source for a minute, I've tried rebooting my computer. I booted my computer using an Ubuntu 9.10 64-bit live CD, and I was able to connect just fine, so I know it's not an issue with my mobo's onboard ethernet. But it's still not working when I boot from my hard drive. I'm running 10.04 64-bit. I've had this problem once before in the year-plus since I built this machine, but it resolved itself after I rebooted a couple of times.
View 1 Replies
View Related
Feb 3, 2011
I connect to a Linksys Wireless-B router in my home. My connection was working fine last night, but when I booted up my computer this morning, nothing shows up in my list of available connections. I've tried disconnecting the router from its power source for a minute, I've tried rebooting my computer. I booted my computer using an Ubuntu 9.10 64-bit live CD, and I was able to connect just fine, so I know it's not an issue with my mobo's onboard ethernet. But it's still not working when I boot from my hard drive. I'm running 10.04 64-bit. I've had this problem once before in the year-plus since I built this machine, but it resolved itself after I rebooted a couple of times.
View 2 Replies
View Related
Mar 1, 2010
Im trying to make an ubuntu server box my entrypoint to my networking. Meaning itll function as a server, a firewall, and a gateway. so i already installed dhcp3 and a dns server.
I have 2 ethernet cards in it. So now i wonder, should i the second card into a router's modem/wan port and make the router a switch? or should i plug it into one of the routers lan ports?
View 3 Replies
View Related
Oct 11, 2010
I just installed Fedora Core on my Dell Inpsiron B130 laptop and I am having trouble connecting to the internet both wirelessly and with an ethernet cord into the router. When trying to configure my network, I dont recognize any of the ethernet adapters in the drop down list. I have been told that my wireless card is Linux compatible (dell y8029 dell wireless 1370 802.11/a/b/g mini pci). My ethernet card is a B130 Broadcom Ethernet Driver which isnt in the drop down menu either.
I read that I need to download an ndiswrapper but I dont know where to find this download AND even if I could download it to a zipdribe, I have trouble opening a USB flash in Linux becuase its not a "valid block device". This is after the command "mount /dev/sda1 /mnt/usbflash"
View 4 Replies
View Related
Jul 2, 2010
I am really interested to configure my old desktop with Slackware 12 as a router. But unfortunately I did not found any other ethernet card (second) as Realtek 8029. (I need two ethernet cards according to the howto [URL]) It is possible to get up and running this card? I was googling a lot. I tried to use the ne2k-pci module. It seems that it was loaded successfully, but I cannot see my interface (eth1) with ifconfig.
lspci shows:
Quote:
00:0b:0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8029(AS)
lsmod:
Quote:
ne2k-pci 12768 0 (used by)
[Code]....
View 6 Replies
View Related
Aug 27, 2011
I'm having trouble getting my Ubuntu 10.04 machine (Sony Vaio VGN-SR490) to connect to the Internet by way of an Ethernet cable connected directly to my router.
I'm able to connect to the Internet using this same cable using a Windows machine, so there's something wrong with the way Linux is configured.
How do I got about figuring out what the problem is and solving it?
Here are my network settings on Linux:
$ ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
[Code].....
It looks like the network adapters list is empty. I will now install both Windows XP and Ubuntu Linux dual-boot. I'm still not able to access the internet, even through Windows. I'm wonder if this could be a hardware problem with the computer or a problem with the router itself. Other computers can connect to this same router, and work fine. (That's how I'm posting this after all!)
View 3 Replies
View Related
Jun 30, 2010
I cannot connect to my Ubuntu Server. Currently I'm trying via my MacBook through ethernet. A physical connection is apparent; however, the computers cannot communicate. To resolve this problem is important because I just need basic SSH functionality. While connected through ethernet, my MacBook cannot ping my Ubuntu box. Here is a screen shot of the Mac's network setup, a ping attempt, the ifconfig's of both machines.
[Code]...
View 9 Replies
View Related
Jul 18, 2010
I've set up 10.04 Server so that I could install directly to a command line, due to the fact that Desktop was crashing during the install every time. The installation goes fine, except for the networking portion. DHCP fails every time I try it. So I set up a static IP as an alternative. Once installation completes, none of the network-oriented tools (ping, telnet) work. I've tried pinging my router and I get 'Destination Host Unknown'. This is true if I change to a DHCP oriented setup as well.
The router sees that the machine is there, as indicated by the slowly blinking connection light meaning that it's hooked up to *something* but there's no activity. Also, networking did work within Windows before I nuked it, so I know it has the ability to operate correctly. I'm at a loss, mostly due to my own newness and ignorance of how to start tackling this within this environment.
View 9 Replies
View Related
Sep 1, 2011
My laptop was working fine on wireless till the userinterface changed and it defaulted to ethernet and now it won't let me go back on wireless How do i disable ethernet?
View 4 Replies
View Related
Oct 5, 2010
i had a very old server given to me. it's a Compaq Prosignia 200. it has a 166 pentium, more than 64 mb of ram(unkown because i see 2 32mb sticks and there are 2 more smaller sized sticks), a cd drive, a 6 gb hdd, and enough pci slots for 3 nic. i'd like to use it for a router for my 2 home pc's. i have no idea what im doing or if the hardware itself will run as a router. i do have a 25mb connection and dont really want to lose my bandwidth.probably too much to ask but i thought i'd give it a go.
View 10 Replies
View Related
Jan 5, 2010
Using SuSE 11.2 can anybody suggest a decent compatible Ethernet / Network Colour Printer. Just a printer not a multifunction device. The printer will be connected to a Fast Ethernet Switch or directly into the ADSL Router.
View 4 Replies
View Related
Mar 2, 2010
i already have an eth0 configured to automatically get its info from dhcp.
but i wanna configure eth1 to be able to serve dhcp and dns. i havent configured either dns or dhcp server on the server box since i have not configured the serving interface.
so far my interfaces file is:
Code:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp
[Code]....
View 1 Replies
View Related
Aug 13, 2010
I am using Ubuntu 10.04 Lucid and VMware 2.0 server. I have a an XP virtual machine that is needed for work. When I am at home and I place my cat 5 cable to my cisco catalyst switch, my XP VM recognizes the ethernet card on my laptop and bridges fine with ubuntu and works fine and I can get to my network. When I take my laptop to work and I go to a site and I plug it into a World Wide Packet 311 management port on the switch, my XP Virtual Machine does not see the network no matter what setting I set it too(100 full, 10 full, 10 half and etc). It simply says that the network card is disconnect. Ubuntu see the network fine and I can ping and talk to the network without any issues but the VM does not.
View 2 Replies
View Related
Jul 14, 2010
I've got a machine running Ubuntu Server that is on several VLANs. Each VLAN has its own subnet and the server has an address on each subnet. The switches are set to allow tagged traffic to the server for each VLAN that it is on. Switch ports ending with workstations are given untagged ports on whatever VLAN is appropriate. Workstations are given addresses on a subnet for each VLAN via DHCP. All this works great and hosts on any subnet/VLAN can access the server as normal via its address on that subnet/VLAN.
Accessing the machine by its address on a non-local subnet is where I run into a problem. Inter-subnet traffic has to go through a router, which has been set up appropriately. Running tcpdump on the server and pinging it from a workstation on a subnet, using its address on a different subnet, shows the server receives the ping, but sends no response:
Code:
sudo tcpdump -i vlan4 -n
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
[code]...
View 8 Replies
View Related
Nov 17, 2010
I am planning to setup a home network with Ubuntu.the home network consists of ~3/4 computers; a mediaserver (reelbox) and 2 more PCs.Can I setup the server as a DSL router and get rid of my modem/router I have right now?
View 3 Replies
View Related