Ubuntu Networking :: Gateway With 2 Red Networks?
Jun 21, 2010
What i need to do is setup a gateway with 2 red networks, reason being 1 is my internet connection and the other is my bDSL connection for our IP phone system and i need an IP range of traffic routed to the bDSL rather than internet, i can do this on individual PC's but id like to do it at the firewall level so i dont have to configure each machine on the network.
basically i want all traffic to go to internet except for say 203.x.x.x which i want routed to the bDSL router and let it handle it. Ive dome some reading and it seems ipcop and smoothwall cant do it so i was hoping with some tricky work maybe i can get ubuntu to do it for me.
View 2 Replies
ADVERTISEMENT
Mar 26, 2009
I have setup an ubuntu gateway server by using four NIC cards.
eth0 :210.212.235.107 is connected to the internet
eth1 :192.168.1.222 is connected to the local network
eth2 :192.168.2.222 is connected to another network
Here 192.168.1.222 is the gateway for 192.168.1.0 network and 192.168.2.222 is the gateway for 192.168.2.0 network.These network configurations are working fine, but i want to block inter network communication ie from 192.168.1.0 network to 192.168.2.0 network,i want to block the communication for securing the local networks more.I know iptable rule is enough for this purpose .But i cant find the apt rule for this purpose.
View 1 Replies
View Related
Apr 16, 2011
I am trying to configure my android phone (rooted Eris running kaossfroyo 2.2) to be used as a midi controller. Which I am having enough trouble with as it is but it has raised an annoying issue that occurred a month ago when I used the phones tethering network with my laptop. After connecting the laptop to the phones network (either tether, or an Ad-hoc network created using the network manager) I am unable to switch to other networks. In other words when I'm done with the phone-laptop connection I cannot connect my laptop to my home network! When I click on the other network connection I can see that it is attempting to connect in the upper right corner of the desktop (the network icon) but it will not make the connection.
What happens is that the network indicator will make the little circle graphic as if it is trying to connect but it never will display the other circle as green indicating that it has connected. but when I disconnect from the home network that is not connecting I will get a message underneath that will say that ad-hoc network disconnected! If I am switching from the android tether it will say Android-Tether disconnected etc. Even though when I click on network manager it shows that I am attempting to connect to the home network (labeled LIBERTY in my case) upon disconnection it shows the ad-hoc or tether connection being disconnected.
I am absolutely baffled by this! The issue persists even after deleting the ad-hoc connection from the wireless settings tab!!! I would speculate that for some reason the laptop is attempting to connect to the previous ad-hoc connection despite me wanting it to connect to LIBERTY. I am very confused and hope someone can lead me in the right direction.
View 1 Replies
View Related
Jan 7, 2010
I could use Wireless network. I could see several different networks in my range. Then suddenly the network stoppedworking, and I can no longer see any networks under "Wireless networks".The Wired networks works fine.I tried upgrading ubuntu, but nothing changed. Just to confirm, I rebooted the computer in Windows Vista (Dual boot) andconfirmed that Wireless worked fine there. No hardware problem then.The suggestions I have found on this and other forums suggest looking at the output from iwconfig and ifconfig. But since I'm a n00b at Ubuntu I don't know what to make of it.
This is the output:
emil@emils:~$ iwconfig
lo no wireless extensions.
[code]...
View 1 Replies
View Related
Jul 11, 2011
I am trying to get a Linux (Slackware 13.37) working in a Windows networking environment. The IT support for this organisation does not extend to Linux support, so I'm limited in what help I can get for this.
I'm trying to get to the point where I can get to the internet to download what I need on this Linux machine.
The situation is this (*fictitious addresses used) -My Linux machine uses a fixed IP address (10.100.150.21)
My Windows machine uses a DHCP assigned IP address (10.100.150.213)Both Linux and Windows machine are configured to access the gateway server (10.100.150.1)So, I can ping the Linux machine from the Windows machine and vice-versa.I can ping the gateway machine from the Windows machine.I can browse Windows Shares on the network via SMB from the Linux machine.I CANNOT ping the gateway machine from the Linux machine with the Destination Host Unreachable message being the error message.
For actual internet access I need to access a proxy server but since the Linux machine can't even ping the gateway server, it fails to ping the proxy.Now, I have been told the gateway is a HW based router and for Windows machine they use some software for authentication to connect to the network. This software isn't available for Linux, so that's why I've been told to use a fixed IP address.My experience of networking is pretty basic and most of the Linux setup is done via running Slackware's setup program.
View 12 Replies
View Related
Jan 2, 2010
I have a gateway computer that I've been trying to fix up - whenever I try to install Windows XP/2000/Ubuntu, it finds a bunch of errors. I'd really like to get this computer working, it has a 300GB HD, TV inputs, USB ports out the wazoo, and all that other good stuff. Can someone help me with what to do or have a suggestion on what to replace?
I have formatted the hard drive (the Windows installation did it.) The windows installation is to the point where its copying the installation files to the disk, then it gives me an error that it can't find/can't copy the file. The Linux installation just gives me cryptic errors before it even does anything.
I just want to get it to a point where it's usable I really don't care what operating system.
View 1 Replies
View Related
Jan 26, 2010
FTP is not working through a gateway and I think I found that I need to modprobe ip_masq_ftp. However, when I do try to load ip_masq_ftp I get the error: FATAL: Module ip_masq_ftp.o not found.My question is: how do I get ip_masq_ftp?More questions: Do I have to build a new kernel? If I do need to build a new kernel do I just include the ip_masq_ftp module or are there other modules that I need?
View 1 Replies
View Related
Feb 12, 2011
I can ping my IP, and other PC in the same LAN, but I CANNOT ping the gateway on my 10.04LTS ubuntu. Other PC in the same LAN(Ubuntu 10.04LTS) could ping the gateway and my IP. I thought that (1)network cable is OK because I could ping the other PC in the same LAN.(2)Gateway is OK because other PC could ping it. (3)setting of operating system might be somehow wrong.
I have tried to restart the network several times and still not works. I followed the HOW-To debug tips and following is the results. Any suggestions?
1. ifconfig
eth2 Link encap:Ethernet HWaddr 00:1d:7d:aa:d5:d3
inet addr:140.112.61.75 Bcast:140.112.61.255 Mask:255.255.255.0
inet6 addr: fe80::21d:7dff:feaa:d5d3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
[code]....
View 2 Replies
View Related
Feb 5, 2010
My Laptop is connected to 2 different network (Wireless "gateway 10.170.8.1" ;cable wired "gateway 192.168.1.1")the gateway 192.168.1.1 is the default i want all application like firefox that connect via http and https port 80 and 443 to use the gateway 10.170.8.1)
else to use the default gateway
View 1 Replies
View Related
Feb 23, 2010
I have installed ubuntu 9.04 Jaunty server from disk. I am connect to my corporate internet. I have put in my http_proxy everywhere I can find to put it. I am getting an ipaddress, gateway, broadcast,etc. My wired is connected. When I try to ping my default gateway it times out. %100 packet loss. I get the ipaddress of the gateway from the (route command).
My configurations on /etc/network/interfaces is correct(I am on another computer so I can't copy and paste) and I even tried updating the drivers for NIC card. I am using a Intel 82567LM-3. I have been working on this longer than I care to admit.
View 7 Replies
View Related
Mar 4, 2010
I live on a property with 3 other units and we all share a cable connection. There's a modem connected to a wireless router (I'll call it the "main" router), which until recently I connected to with an 80' or so long ethernet cable because I don't get a good signal, and all I've got is a desktop anyway. When plugged directly into the main router, I can get very fast download speeds - the fastest I've seen over bittorrent, for example, is about 2.2 Mb/s, and it's over 1 Mb/s most of the time for popular torrents or sites with good bandwidth. A friend with a laptop is staying with me for a month, so I wanted to set up a wireless router in my home, and my desktop needed to be moved to a location where running a wire is kind of awkward, so I planned on using the wireless too.
I don't have a spare proper router with an uplink port laying around, but I did have a spare DSL modem/wireless router combo (which I'll call the "secondary" router) that I used to use at a former residence, and I thought I'd try to use it here. I plugged it into my computer, configured its security settings how I wanted (64-bit WEP) and looked through for settings that seemed like they might pertain to using it in this capacity. I didn't really find any except for something that seemed to turn off its DHCP, which I did. Then I unplugged my computer and plugged in the ethernet cable that runs to the main router (which is a normal ethernet cable, not crossover). I found that this setup does "just work" for the most part - our computers see the signal and can log in and access the internet through the main router's cable connection. However:
1. I can't figure out how to access the secondary router's settings once it's been plugged into the main one, even if I unplug it from the main one. What happens is that as soon as I connect the two routers together, it's almost like the secondary ceases to exist independently until it's settings are purged via the reset button. I plug it's IP address into a browser like usual, and nothing happens (it's an Actiontec whose stock one is 192.168.0.1 and the main router is a Netgear with an IP of 192.168.1.1).
I can log into the main one like normal through a wireless connection to the secondary, though. If I look at "attached devices" in the main router's config, it lists all the client computers in the network, but there's no IP that could be for the router (I'm sure of this). Each computer connected through my secondary router gets assigned its own IP like normal, and port forwarding works without a hitch. Again, this persists until the secondary is reset - after the two routers are connected but until the secondary is reset, there doesn't to be a way into the secondary's config. The security settings are acting as they should, though (ie, you need the secondary's WEP key to log on).
2. Internet download speeds when connected to the secondary over wireless are extremely slow compared to what the connection is capable of (can't seem to top 90 Kb/s) but for some reason the max attainable internet upload speed seems to be about the same as normal (around 200 Kb/s). This is puzzling to me. Back when I was using the secondary router for it's intended purpose as a DSL gateway under XP, I downloaded at around 300 Kb/s all the time with it using the same wireless card I am now, so I know the hardware I have is capable of it. Now both of our wireless cards are getting the same mediocre speeds (seemingly bottlenecked at around 90 Kb/s), even with a full signal (ie, the computer right next to the router).
If we connect to the secondary router with a cable rather than wireless, there's no problem and downloads are really fast (note again though that the max upload speed doesn't seem affected whether wired or wireless, as determined by running internet speed tests in both configurations). Ping times over wireless are also extremely high - ie, 800ms+ even when pinging the main router at 192.168.1.1.
It almost seems like there's something inferior or bottlenecked about the wireless signal the secondary router puts out, but I don't know what that could be or how to change it. (I also don't really understand anything about the setup I created here though, other than that I plugged it in and crossed my fingers and it works for basic, non-bandwidth-intense tasks). basically I'm curious whether there's a way to have normal access to the secondary router's settings in this setup, and whether there's a way to make the bandwidth over wireless less mediocre.
View 3 Replies
View Related
Jun 19, 2010
Whenever i used to setup a new connection in Windows it would just ask me User name and password here i need to fill up something called as "Gateway" !? The connection won't be accepted unless i fill up something in there... So, what do i put in there? I'm on a LAN of 3 computers connected with a router.The router takes one wire as input from the modem(cable).
View 9 Replies
View Related
Jun 19, 2010
This Ubuntu desktop has 3 network interfaces:LAN eth0: ip address 192.168.3.6 gateway 192.168.3.1VPN tun1: ip address 192.168.7.4 gateway 192.168.7.1VPN tun2: ip address 192.168.9.2 gateway 192.168.9.1For Chrome or Firefox, by default the 192.168.3.1 gateway is used.How do I change this such that:I can manually choose the 192.168.9.1 or 192.168.7.1 or 192.168.3.1 gateway.From the command line.Before running Firefox/Chrome.Without re-configuring any network interfaces.So that ONLY Firefox and Chrome browsers are affected
View 1 Replies
View Related
Jul 5, 2010
I can't see any wireless networks with 10.04 Netbook version. iwconfig gives me this:
lo no wireless extensions
eth0 no wireless extensions
wlan0 IEEE 802.11bg ESSID off/on
View 2 Replies
View Related
Jul 8, 2010
I have Ubuntu 10.4. My computer is connected to AT&T U-verse on a 2Wire brand Residential Gateway. The RG has the actual IP address. It's assigned my computer the address 192.168.1.66. I want to run the apache server to share files between my two computers across town. My other one is directly connected to the internet with a DSL modem so it's IP is static and was easy to set up and get going. What I want to know is what do I type to access my apache server on my RG? Galactic newbie here.
View 3 Replies
View Related
Feb 27, 2011
This might well be user error, but I can't get my dual homed server to gateway.
There are two NICs code...
It was working, until I was messing around with the patch cables and managed to get them swapped over. I've corrected them now but it no longer seems to pass packets between interfaces. I noticed because squid (transparently proxying) stopped working, other stuff on the box (postfix, dovecot, getmail, dnsmasq) is working fine, the internal NIC is visible from the internal network, the external NIC can access the 'net.
I've rebooted (more than once) but the problem persists, any network gurus spot anything obviously wrong?
View 2 Replies
View Related
Aug 4, 2010
I recently upgraded an Ubuntu 8.04 server to 10.04 server. My previous configuration had two network interfaces both routed to the same LAN with the same gateway. This functioned for me so as to support different services on each interface, such as http and smb on one, torrents on another. This routed fine in 8.04 (routing table below). Once I upgraded to 10.04, any packets that traveled beyond the LAN did not return. I checked and there is no local firewall running. Thinking that this was strange I set up a virtual machine and tested it in a different environment at work (and also with a virtual firewall configuration) with the same results.
I also tested several other current operating systems, including Debian 5.04 and Open Solaris 9, all of which routed two interfaces with the same gateway fine. I rolled back from 10.04 to 9.10 and the problem persists, so the change exits also between 8.04 and 9.10. at least identify what is unique to Unbuntu 9.10 and above that is preventing having two interfaces with the same gateway, something that other operating systems do not seem to have trouble with?
[Code]...
View 1 Replies
View Related
Oct 28, 2010
i have an ubuntu server box as my gateway and firewall. for days at a time itll run fine, then one or two days out of the week, it will drop connection often because it drops its ip addr. when renew an ip, itll work fine for about 5 minutes and drop again.ive tried different nics, different wire, my logs dont mention anything, my cron files dont have anything suspicious.
View 8 Replies
View Related
Aug 15, 2010
I just bought a new toshiba c655 laptop and had windows 7 on it. i made the dual boot partition on it, yada yada yada, anyway, on the windows partition i can see two networks at my house. one is mine, one is my neighbors. but when i go to the ubuntu side of things not a single wifi network shows up. i did a little combing of the forums and decided to try installing the ndisgtk package which i obviously need internet for. i thought i would plug it into an ethernet cable running straight from the modom and i could connect and download no problem. however. this has turned out to be quite a mistake. ubuntu does not even recognize the fact i have an ethernet cable plugged in. this may or may not be related, but niether my ipod or my cell phone does not show up when i plug those in and when i try to mount them i get an error message that says they could not be found. Im running 10.04.
View 2 Replies
View Related
Oct 12, 2010
i have an acer aspire 7551, and trying to setup wireless. The WI-FI indicator is turned off. Here is the basic output that i get:
Code:
ubuntu@ubuntu:~/Desktop$ sudo lshw -C network
*-network
[code]....
View 3 Replies
View Related
Dec 28, 2010
I installed ubuntu and i installed it using the install as a program inside windows options but when I boot into ubuntu it does not detect any networks I tried the command sudo pppoeconf it says ethernet card is not there and then it asked me to try modconf and when i try modconf it says that modconf is not installed How can i set internet connection in ubuntu 10.04 I get address assigned by DHCP
View 7 Replies
View Related
Jan 24, 2011
I have an hp dm1z and ubuntu 10.10 64bit. After I suspend (close the lid) and wake it up (open the lid) at a different location with a network connection (wired or wireless), my system always fails to connect. I need to reboot and then it sees the network and connects fine. I have tried /etc/inet.d/networking restart, but nothing changes. The only exception to this rule are two networks that have WPA security settings and are stored. I can always switch between those two. I have tried ifconfig eth0 up & down and restart networking. I have also tried to connect manually (dhclient) and no success. None of these work. I am including the output of lshw -C network.
lshw -C network:
*-network
description: Ethernet interface
product: RTL8101E/RTL8102E PCI Express Fast Ethernet controller
[code]....
View 1 Replies
View Related
Feb 1, 2011
I have an MSI Wind U100 netbook running Maverick, and it has a Realtek RTL8187SE Wireless controller according to lshw. My computer can "see" some wireless networks where they are present, meaning when I click on the little network icon at the top of my screen it shows the available networks. But when I click on them to connect, the icon does its little "connecting" motion, but I never receive any message saying "Connected" and when I open Firefox and try to browse to google.com, it says "Server not found"
View 8 Replies
View Related
Mar 22, 2011
I have an ethernet card connected to my LAN and a USB cell modem internet connection. I am running ubuntu 10.10. The problem is this: I can use either network, but only am connected to one of them. If I connect to both at the same time my speed drops to zero.f I disconnect one, the other starts working. I have done a lot of searching and reading, but it looks like I don't know how to find what I am looking for.My LAN was setup as 3 WinXP computers peer to peer. One of those computers was replaced by this one that I am having trouble with (computer A). Another one was replaced by one that is not yet on the network (computer C).Computer B dual boots Win XP and ubuntu 10.4. Mostly it ns xp for Quickbooks and BobCAD, also it is connected to the printer. My router is setup for DHCP
View 2 Replies
View Related
Aug 2, 2009
I have a server with 192.1.9.10 ip address and I want to define two gateways with ip: 192.1.9.4 and 192.1.9.254 on it but I don't know how I can do it. I don't have professional information in linux.
View 1 Replies
View Related
Jan 1, 2011
I've rent a server from a Germany data center,They use a single IP as their gateway that is not in range of my servers IP,Strangly server is working well and when I use 'route -n' command the gateway which is in other subnet appears properly./etc/sysconfig/network contains no gateway IP and I don't know how they set the default gateway while after reboot the gateway is the same, also the IP is static and there's now DHCP.I need to know how they did it so I can do the same on my VPSes.
View 1 Replies
View Related
Jul 12, 2011
I have 2 lancard eth0 connected to local lan eth1 connected to bsnl broadband connection, I have centos 5.3 here I configure broadband in dial up mode. I am unable to ping outside world and unable to access some site but able to access internet like google etc, configure file is as:
eth0 Link encap:Ethernet HWaddr 00:14:85:96:1C:A7
inet addr:182.x.x.24 Bcast:1182.16.255.255 Mask:255.255.0.0
inet6 addr: fe80::214:85ff:fe96:1ca7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:736487 errors:0 dropped:0 overruns:0 frame:0
TX packets:859918 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:122617961 (116.9 MiB) TX bytes:772581200 (736.7 MiB)
Interrupt:185 Base address:0x6000
eth1 Link encap:Ethernet HWaddr 00:08:A1:7B:A0:F9
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::208:a1ff:fe7b:a0f9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:658246 errors:0 dropped:0 overruns:0 frame:0
TX packets:620456 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:728744445 (694.9 MiB) TX bytes:100768525 (96.1 MiB)
Interrupt:193 Base address:0x4000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:21198 errors:0 dropped:0 overruns:0 frame:0
TX packets:21198 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5867015 (5.5 MiB) TX bytes:5867015 (5.5 MiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:59.xx.xx.xx P-t-P:59.xx.xx.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1460 Metric:1
RX packets:793 errors:0 dropped:0 overruns:0 frame:0
TX packets:968 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:528818 (516.4 KiB) TX bytes:148274 (144.7 KiB)
[root@venus ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
59.xx.xx.1 * 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
182.xx.0.0 * 255.255.0.0 U 0 0 0 eth0
default * 0.0.0.0 U 0 0 0 ppp0
I am unable to ping gateway of ISP IP i.e gateway of static IP.
View 1 Replies
View Related
Sep 9, 2010
I have one scenerio ,I want to use my Linux PC as residential gateway .I have only one NIC connected to my PC(I cannot connect more) to handle this problem I am using switch . All the devices including my PC are connected using switch (Please refer attached file). I am not sure how can I achieve this ? I am familiar with NAT and DHCP but do not know is this possible in this case?
View 11 Replies
View Related
Jul 27, 2010
I am running 10.04 and am trying to add a route to a remote network using a gateway that is NOT on the local subnet. I am not messing with the default GW as all the other posts I can find are. I am using public IP addresses, but all of this is contained behind a firewall. I need to add a route to a private network (192.168.1.x) that is behind a router attached to a different subnet. The current routing table looks like this:
Code:
Destination Gateway Genmask Flags Metric Ref Use Iface
xxx.xxx.108.48 0.0.0.0 255.255.255.240 U 1 0 0 eth0
0.0.0.0 xxx.xxx.108.49 0.0.0.0 UG 0 0 0 eth0
The remote network is 192.168.1.0/24 and it is reachable via xxx.xxx.37.203. I can ping the gateway no problem. However when I try to add a route to this network I get an error.
route add -net 192.168.1.0 netmask 255.255.255.0 gw xxx.xxx.37.203
SIOCADDRT: No such process
I assume this is because the GW is not on the local subnet. When I try this on a machine that is connected to the xxx.xxx.37 network, everything works fine and I can reach the remote network. I even tried adding a static route to the gateway, but that did not help.
route add -host xxx.xxx.37.203 gw xxx.xxx.108.49
View 1 Replies
View Related
Aug 21, 2010
I would like to configure the eth0 manually. I can configure the ip address and sub-netmask but the system can't hold my gateway ip address (I added). It will keep it 0.0.0.0. I have no problem when I getting IP address from DHCP server.
View 1 Replies
View Related