Ubuntu Networking :: Using DSL Gateway As Secondary Router?

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


ADVERTISEMENT

Ubuntu Networking :: How To Find Primary Dns, Secondary, And Default Router

May 1, 2010

im trying to open my NAT on my PS3, and it's asking for my primary DNS, secondary DNS, and default router. how will i find these on ubuntu? i got my ip and subnet mask, just need the other three.

View 1 Replies View Related

Networking :: 10.112.112.112 Gateway In Wireless Router - What Does It Mean

Aug 16, 2010

a wireless router (box) is went stuck, I found that when it is stuck it uses strange IP local address remote address 10.112.112.112, today is also went stuck but this time the gateway was 10.112.112.112. I had to switch off, switch on teh router to function properly. I am using DSL connection normally the gateway is likie that 78.8.... and my IP (dynamic) like 78.8.240..... Is there any default meaning of 10.112.112.112 in teh net connections?

View 14 Replies View Related

Ubuntu Networking :: Setup Server As Router / Gateway?

May 29, 2011

I have been searching google for a while now and have not found exactly what I am looking for. I would like to use my fresh install of ubuntu server 11.04 as my router/gateway for my home. I am not an expert at linux by any means but I can usually figure stuff out. I believe I need iptables, bind, and a few others probally. It eventually will also be a samba server but I have done a little with samba before. I do have 2 network cards, my router at the moment is starting to die and would love to have a more powerful router. I would also like to figure out how to do port forwarding in the router, as well as be able to see the load on the network cards. Maybe there is a program to show usage by user? As well as be able to do packet pritorization.

View 4 Replies View Related

Ubuntu Networking :: How To Set Up A Gateway/router And Firewall On Server

Jul 20, 2011

I want to do is setup a gateway(or router, idk what Ubuntu refers to it as.). So my set up would be Modem>Server>Switch>Router. I know that I need to set up it up as a DHCP server as well. I would also like to setup it up as a firewall too. I already have two Gbit cards that are already configured. So how do I do this? I already tried one tutorial, but it was old and was for Debian. I also installed ebox, but I couldnt figure that out either.

View 2 Replies View Related

Networking :: Hold Static Ip Address From A Different Gateway Router ?

Jul 6, 2010

I'm running Ubuntu 10.04 and my setup is as follows:

As you can see, I am directly connected to router 192.168.25.1, and so my ip address is 192.168.25.101. I want my ip address to be 192.168.13.101, and make router 192.168.13.1 my gateway router. Is this possible under the current physical layout (I do not want to have to connect directly into 192.168.13.1, but keep my computer where it is at)?

When I run tracepath, it shows 192.168.13.1 is one hop away.

What I've tried:

The problem is under this manual setup, I cannot ping 192.168.13.1 and running command netstat -rn returns the following:

View 2 Replies View Related

Networking :: Ubuntu Jaunty (v9.04) Vs DLink DIR-655 Gateway / Router / Access-point

Apr 24, 2010

Does anyone have experience with the D-LINK DIR-655 gateway OR router OR wireless access point? On the surface, I like this box, but it is giving me grief. First, it wants me to use a win-dose CD configurator application. I use the embedded web page configurator. Next, there are several configuration wizards at the embedded web page. After trying the wizards, I went to the manual screens to tinker to get something working.

So what is going on? When a LAN client connects, I want DHCP to present at least two "nameserver" values ... which then make their way into /etc/resolv.conf The DIR-655 plays some nameserver games like caching and blacklisting and other things. However, I get some ad-vert page from "dnssearch" or "yahoo" or similar when names don't resolve. I really don't want this behavior. Network-manager does not report the connection down, however streaming anything stops or "reconnects", browsing times out, LAN side traffic seems to stop as well.

View 1 Replies View Related

Fedora Networking :: Static IP Cannot Contact The Internet Or Even Gateway Router?

Jul 29, 2011

I have a fedora 14 box which has a static IP and I can not contact the internet or even my gateway router.I know it has to do with my kernal IP routing table but I can not find the command to do what I need...Here is my kernal IP routing table

Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0

My gateway is 192.168.1.1 and my static IP is 192.168.0.2.

View 3 Replies View Related

Networking :: Cannot Ping Gateway Or Access Router Administrator Page

Jan 22, 2009

Presently this client access the net through following setup
ADSL modem -> hub -> all computers

Now they want to do some kind of bandwidth control, content filtering. So I tried setting up squid with dansguardian. This is what I did
ADSL -> linux server -> all computers.

The linux server has two NIC cards. One to the ADSL router and another to the local hub. This is how my squid.conf file looks like

http_port 3128
acl ubc src 192.168.1.0/255.255.255.0 (for subnet)
http_access allow ubc

Have set the gateway server as 121.x.x.1. Which is the gateway server of the ISP. Now I can ping the local network, but cant ping the gateway or any other website. Also I am unable to access the router administration page.

View 2 Replies View Related

Ubuntu Servers :: Secondary Mail Server And A Mail Gateway/relay?

Aug 3, 2011

Our primary mail server is Exchange 2003 Standard on Windows Server 2003 Standard - don't shout at me; I inherited it already set up this way.I have a couple of hardware identical redundant servers (HP ML350 boxes), all with very fast 2 or 4 disk arrays, multiple core CPUs and plenty of memory, and I am looking at two potential new additions to the infrastructure.

A secondary mail server is high on my list of priories. I've been well and truly bitten by Exchange in the past and given that this particular box has been running four years straight and that it's mail store is dangerously large, having a secondary mail server in place suddenly makes a lot of sense.

A new Exchange 2010 box is currently being set up, but the secondary mail server will remain in place even when the new Exchange server is brought online, so this won't be a wasted exercise.... I also want a gateway box in place to filter and relay mail to the primary server, or to the secondary server if the primary is unavailable. Currently our outer perimeter is:

ISP supplied CISCO router
Draytek VigorPro 5510 UTM

Untangle running in bridged mode (primarily used for SPAM filtering, URL blacklisting, and very little else) Exchange 2003 sits behind the Untangle box. This is how I want to end up:

CISCO >> Draytek >> Ubuntu gateway >> Exchange/secondary mail server

I know I could replace/remove the Draytek but I want it to remain for several reasons, including lots of VPN dial-in users already configured and that it offers us an additional layer of email antivirus scanning before things hit the Exchange box. No point switching all of our remote workers over to new tunnels unnecessarily...

I have done some research and have started testing a pilot secondary mail server using Ubuntu/postfix DNS is properly set up and MX records and reverse PTR records are all present and correct, and things are looking encouraging so far. Before I go out over deep waters and start to flounder, has anyone who has done something like this got any obvious howlers I should be looking to avoid ?

View 2 Replies View Related

Ubuntu Servers :: Setting Up Gateway / Router And Firewall

Jul 20, 2011

So what I want to do is setup a gateway(or router, idk what Ubuntu refers to it as.). So my set up would be Modem>Server>Switch>Router. I know that I need to set up it up as a DHCP server as well. I would also like to setup it up as a firewall too. I already have two Gbit cards that are already configured. So how do I do this? I already tried one tutorial, but it was old and was for Debian. I also installed ebox, but I couldnt figure that out either.

View 1 Replies View Related

Ubuntu Servers :: Dhcp Doesnt Work Unless Put A Switch Or Router Between Gateway And Connecting Computer

Sep 30, 2010

The dhcp doesnt work unless i put a switch or router between the ubuntu gateway and the connecting computer.

setup

Code:

Code:

Code:

Code:

Im on ubuntu 10.04. is this normal? or should i be able to connect without having a router or switch between the ubuntu server and the internal network....

View 3 Replies View Related

General :: Installing Firewall / Gateway Into Linksys Router To Protect Windows?

Apr 1, 2010

story is my brother is a dindows lover (gamer) and hes been gettin attacked by virus's,etc cause he runs his Vista setup with no firewall or antivirus

He says the firewall,etc slows down the PC too much for gaming He doesnt want to use Linux as his games wont play on Linux as on dindows

He wants to know if you can install a Linux firewall/gateway or whatever into his Linksys WRT54GC router and thus protect his PC without using a firewall or av in it.

EDIT: precisely; he has a Linksys wireless-G connected to a always-on Verizon Westel 6100G modem so its a wired connection, not wireless

View 6 Replies View Related

Ubuntu Networking :: DLink ADSL Router As Main Router And The Belkin N1 As Repeater?

Apr 13, 2010

Because of the configuration of my house, I need two routers.I have a DLink ADSL router as my main router and the Belkin N1 as my repeater.I have set up the IP address in the Belkin to be 10.1.1.10 - my DLink is 10.1.1.1. I have disable the dhcp in the Belkin and set the DNS as ISP provided. [URL]..I have set the channel to 11 and in the Ubuntu Network Manger I have set the IPV4 to Link Local Only. I can see the Belkin and connect with my PC.but it will not take me through to the internet.

View 9 Replies View Related

Networking :: Setting Up Linux Box As IPv6 Router To Replace Netgear WNR1000 Wireless Router?

Jun 18, 2011

I want to set up a Linux box as a wireless router to replace our existing Netgear WNR1000 router, as I believe the Netgear does not support the coming IPv6 protocol. Unfortunately, it is not flashable with OpenWRT or DD-WRT presently.

As we have Comcast, our cable modem acts as a dumb modem according to the customer support guy I talked to, and our router is the one that asks for the IP address from DHCP. Thus, when Comcast switches over to IPv6, I don't believe my existing router would work, correct?

My idea is to take a Linux box and put two NICs and a wireless adapter in it, using IPCop or Smoothwall to set up a router. I could then enable IPv6 support for when we have IPv6 with Comcast. Is that possible? Would there be a way to get BIND to hand out private IP addresses in the same subnet on the both the LAN NIC and the wireless card?

View 1 Replies View Related

Networking :: Set Up A Laptop As A Router To Connect Wirelessly To ADSL Router?

Nov 6, 2009

I have a desktop PC running Ubuntu 9.10 and Windows 7, and a Eee PC 701 laptop running EasyPeasy Ubuntu 9.04. I'd like to connect the desktop to the laptop with a wired connection (eth0), then the laptop to my ADSL router using wireless (ath0).

I have a crossover ethernet cable (I bought on ebay). I have set up my laptop with a static IP address on my LAN and it uses OpenDNS.

I have added this to /etc/sysctl.conf on the laptop:

net.ipv4.ip_forward=1

Then I tried this on the laptop:

sudo iptables --table nat --append POSTROUTING --out-interface ath0 -j MASQUERADE
sudo iptables --append FORWARD --in-interface eth0 -j ACCEPT

This is a variation on what I found on other sites describing how to set up a router. I don't understand iptables very well, but I gather that the above two lines should set up forwarding so that traffic from my router to the laptop will be forwarded to the desktop, and vice versa.

But this doesn't work. The connection doesn't even establish between the laptop and the desktop.

View 12 Replies View Related

Networking :: Network Setup - Router - Wireless Router Card ?

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

Networking :: Linux As A Router / Bring 147 & 148 IP Online Without Router?

Mar 26, 2009

These r IP provided by my ISP that i've put on Fedora 8:

WAN IP:xxx.xxx.xxx.17 (eth0)
Subnet:255.255.255.252
Gateway:xxx.xxx.xxx.18

Valid static(public) IP set of 2:
IP:xxx.xxx.xxx.147 & 148 (eth1, eth2)
Subnet:255.255.255.240

i want to run xxx.xxx.xxx.147 as a web server & xxx.xxx.xxx.148 as a ftp server. but I'm able to ping only xxx.xxx.xxx.17(WAN IP) from outside world. Can any1 tell me that how can i bring my 147 & 148 IP online without router.

View 6 Replies View Related

Networking :: Add Another Secondary IP On CentOS 5.5?

Sep 21, 2010

I have a problem with secondary IP on CentOS 5.5 With network configuration like this

[Code]...

So I try to add secondary IP

[Code]...

If i try to add another secondary IP (for ex. xx.231.17.166) xx.231.17.166 *can!* be pinging from global network And if i try to add xx.231.17.147 in network configuration script and reboot server (so this address becomes primary) all works fine. So i need to set xx.231.17.147 as secondary IP, but i can't do it..

View 6 Replies View Related

Ubuntu Networking :: Bind Secondary/failover Ip To Ssh Tunnel?

Nov 30, 2010

My friend has a server with 2 ips, 1 primary and 1 secondary/failover. He has given me a shell account and I want to use ssh to route my home http traffic through it like a socks proxy. I connect to his server using the secondary ip like this:

ssh me@secondary_ip -p port -D forwarding_port

It builds a proxy, however it uses the primary ip of the server, not the secondary ip that I logged in with. When using irssi I've bound it to the secondary ip with no problem. If I try to use the -b flag I get the error: cannot bind: Cannot assign requested address.

how I can bind the ssh tunnel to the secondary ip?

View 5 Replies View Related

Ubuntu Networking :: Samba Can't Access To Any Shared Folder On Secondary Drive

Sep 27, 2010

I successfully installed Samba, but have problem with access to any shared folder on my secondary drive. If I try access secondary drive with admin user, everything is fine. If with another account try to access via samba to shared folder on partition with Ubuntu, everything is fine again. Every folder has set privileges to read&write to everyone, so shouldn't be problem here.

View 8 Replies View Related

Fedora Networking :: Can't Get Secondary Drive To Mount Over Samba

Nov 22, 2010

I've recently set up a fedora 13 machine to use as a media server, I've been able to get everything going except samba. I've installed a second hard drive which is mounted at /media/Core and works fine on the local filesystem. I can browse the share from my mac however when I connect I get this in the smb.log file

[code]...

View 2 Replies View Related

Networking :: Resolv.conf Doesn't Work With Secondary DNS?

Jan 11, 2010

We recently moved all our Red Hat Linux machines from NIS to LDAP and we're seeing some issues with name resolution.

One thing I should mention is that DNS (the first nameserver in resolv.conf)is being used by LDAP for name resolution.

Now our resolv.conf file has always looked like this.

Search domainname.com
Search domainname2.com
Nameserver xx.xx.xx.xx
Nameserver xx.xx.xx.xxx

The problem is that the above resolv.conf file doesnt work anymore. The only way that our workstations get name resolution is by commenting out the second and forth lines, which happen to be our secondary DNS. This has got me confused because why would resolv.conf be broken by having a secondary nameserver and search path? Shouldnt it just use the first nameserver unless it fails to resolve? Almost seems like just having the secondary in the file breaks name resolution. I cant ping local hosts or anything on the internet unless I do this:

Search domainname.com
#Search domainname2.com
Nameserver xx.xx.xx.xx
#Nameserver xx.xx.xx.xxx

View 1 Replies View Related

Networking :: Routing Ports To Secondary Network Card?

Jan 21, 2010

I have a program that connects to the internet that I would like to route through one of my secondary network interfaces. I need one specific port routed to eth1 instead of eth0. I believe that I should be using iptables for that, but I don't really know how to do it.

View 14 Replies View Related

Networking :: Secondary Nameserver Resolv.conf Not Queried?

Dec 7, 2010

I'm trying to query the second nameserver on a local network to resolve local domain names to IP's.

Code:
$ ping ids.mydomain.loc
ping: unknown host mydomain.loc

[code]....

View 6 Replies View Related

CentOS 5 Networking :: Secondary IP Address Won't Work On Eth0

Jul 1, 2011

Everything worked fine until very recently, and without apparently ANY change to the settings on the server, a secondary IP that was assigned to my server won't work anymore..Any IP attached to the same server works fine.. So in my case, the problematic IP is 213.8.155.67. The other IP (213.8.155.42) works without any problem.How would I go about troubleshooting this?

ifconfig:
eth0 Link encap:Ethernet HWaddr 00:26:B9:44:11:3A
inet addr:213.8.155.33 Bcast:213.8.155.127 Mask:255.255.255.128
inet6 addr: fe80::226:b9ff:fe44:113a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

[code]...

View 3 Replies View Related

Ubuntu Networking :: Setup TFTP Server To Work On Secondary Network Card?

Dec 14, 2010

a machine with 2+ network cards, need to setup TFTP server on one card and use internet on another.

the tftpd server works on default routing network adaptor with following configuration.

How set the TFTP server on the secondary network adaptor?

TFTP server tftpd by xinetd configuration in: /etc/xinetd.d/tftp
{
protocol = udp
port = 69
socket_type = dgram

[Code]....

Could not find how to change the post <prefix> I remembered clearly I did before.

View 1 Replies View Related

Networking :: Old Router Behind New Router - Configuration ?

Oct 30, 2010

I've moved a linuxbox from being my gateway (nat, etc) to behind a new gateway (a DD-wrt router). For transparency purposes, I'd like to continue using the old box services, and just have the gateway in front of it.

Here's what I did:

The newgateway is setup for class C, 192.168.0.0

This configuration works, but sometimes it doesn't and I haven't figured out why yet.

At sometimes, clients on the LAN get throughput rates with very little speed loss (using speakeasy speed test). They will run at 33M on the LAN, running through both the newgateway, and the oldbox, and get about 35M with directly connected to the cable modem.

Other times, it seems nothing can talk with anyone, and I am not sure why.

I know what I have done is a little unconventional, but it's a transitional thing, and I am not sure it is the cause of the problem, although it was the last things changed.

View 2 Replies View Related

Networking :: Samba Client Accessing Windows Shares On Secondary Subnet

Sep 13, 2009

I have a machine acting as a gateway for a private network. While it can ping hosts on that private network, I can't use samba (smbclient or smbmount) to access shares on hosts on the private network from that machine. Other machines on the private network can access shares on other machines - just not the gateway server.

Here's how the gateway is configured:

When I try to connect to ports 139 or 445 (via smbclient or smbmount) the mount() system call times out. As I mentioned above, I can ping those hosts, so UDP packets work but TCP packets seem to get blocked or lost.

View 1 Replies View Related

Ubuntu Networking :: Use One Wireless Router To Connect/detect To Another Wireless Router?

Aug 1, 2010

My son lost his USB Wireless stick for his Computer. I had thought I heard that if you had a second wireless router, you could use it somehow to detect the wireless router you have already set up in your home (like using a wireless card)? Is this what Ad-Hoc is? Either way, can this be done and if so how? I use a WRT54Gx2 Lynksys router and have a TRENDNET TEW-432BRP wireless router and also a spare D-link DI-514. I use ubuntu 10.04, and also wanted to know if I connected one of the router to his on the LAn port could he connect msaybe through an Ad-Hoc on my local computer here? He uses XP on his. I'm a newbie to linux and networking in general.

View 2 Replies View Related







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