Ubuntu Networking :: Router Recognizes Bridge But Unable To Obatain An Ip For The Box?
Sep 1, 2011My router recognizes my bridge (ubuntu 192.168.1.102) but am unable to obatain an ip for the box?
View 2 RepliesMy router recognizes my bridge (ubuntu 192.168.1.102) but am unable to obatain an ip for the box?
View 2 RepliesUsing Ubuntu Server 9.10 x64 and a tomato router to act as a wireless bridge to connect to another router. The reason I ask is because I do have the router set on WDS mode on the tomato firmware. I think I have it configured to the best of my ability, but when the interface is up, the signal doesn't get pushed out (no received packets) and it gives something at the bottom of an ifconfig eth0 "Interrupt:28".
View 4 Replies View RelatedThe challenge: I am trying to setup a piece of hardware that is transparent to the network that transfers ip packets between two interfaces without adding a "hop". Details The particular problem I'm having is that one interface is ppp, the other is ethernet. It is trivial to setup a bridge between two ethernet devices but I am having trouble finding anything for ppp<->ethernet.
Here, the ppp link is an internet connection, and the ethernet connection has exactly one device attached. Once the ppp link is negotiated, I want the ppp peer to think it's talking directly with the device on my ethernet interface and I want the device on my ethernet interface to think it's talking directly to the ppp peer.
Current solution: The best solution I currently have is to alter the routing table. When the ppp link is negotiated, I am given an ip address. I add a route that directs everything to that ip address to the eth0 device. I also set a default route to the ppp device. Now, anything that comes from the ethernet side gets forwarded to the ppp side, and anything directed towards my ip address gets forwarded to the eth0 side.
I have added a bridge "mybridge" using brctl bu not added any interfaces yet. Even the brctl show command looks: bridge name bridge id STP enabled interfaces mybridge 8000.0000000 no
Now I try to do: brctl delbr mybridge and it gives: bridge mybridge is still up: can't delete it
I performed ifconfig mybridge down but still the problem persists!
How to delete the bridge?
I want to set up a bridge using bridge-utils within /etc/network/interfaces like is shown here in this guide: [URL] The problem is that, at the same time, I want eth0 to have a specific static IP address. Right now I have a configuration for eth0. This guide tells me that I should not configure eth0 outside of the br0 configuration.
View 3 Replies View RelatedI wonder what is your opinion about the best method for using an ADSL modem. Router or bridge? I did read some articles that say "that the bridge mode gives you more stability and has higher speed". Is that true?
Furthermore, you suggest any alternative to "pppoeconf"? I've been getting this errors ( in the plog), related to "PAD packet loss" and also errors in "PPPOE Discovery", even when I am connected. When this things starts to show up on the log, my connection "pauses" for some seconds. I do not feel very safe with this program.
I had an intstall of 10.2 that I'd been using forever that has a Prisim card in it that I was using as router/access point across a bridge. Recently I rebuilt my machine (replacing a bunch of drives) and installed 13.1. I'm having some difficulty getting my AP reestablished. The card is showing on the pci bus
Code:
# lspci|grep Prism
08:01.0 Network controller: Intersil Corporation Prism 2.5 Wavelan chipset (rev 01)
[code]....
I'm interested in configuring two Netcomm NB504 WiFi routers to work in a Bridge configuration. ie. Local PCs ---> Router <----//----> Router <--- local PCs
The NB504 router doesn't appear to have a native "bridge" mode. However, it does run Linux according to the documentation. I'm interested to hear from anyone who has actually got two of these routers to work in a bridge configuration. I'm not interested in general theoretical comments - only solid advice. I am also not interested in using other hardware for this exercise - I have two of these devices available for use in this project.
I have an adsl modem acting as a bridge to my router my setup was working well for more than year now , but then the internet went slow . I set the modem back to PPPoE the problem was with the DNS server of the ISP so using ifup i set the dns t 8.8.8.8 (google) the connection is back , but when i set the modem back as a bridge slow internet does the router know that my dns is 8.8.8.8 or i should set the dns on the router ? I can't see an option to set the dns on the router ( i just enter my username and password from the isp to use PPPoE mode ) by the way i called the isp support they kept telling me to restart , i told them i did but i never restarted my pc . I'm sure if i tell them i'm running linux they will blame the os !
View 2 Replies View RelatedI'm running Ubuntu 10.04LTS 64bit. The desktop running it does not connect to my router or the internet. My mac laptop does. When I installed windows on this desktop, it too could connect. But after reinstalling ubuntu, I cannot. I tried upgrading to the latest ubuntu, but that just bricks my computer. Here is my ifconfig:
Code:
~$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:1d:09:95:39:76
inet6 addr: fe80::21d:9ff:fe95:3976/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1492 Metric:1
[Code]....
This has probably been beaten to death, but I can't find anything that fits my exact situation (maybe I'm using the wrong keywords, sorry).
Server:
eth0 - external NIC, DHCP IP from ISP
eth1 - internal NIC, static 192.168.0.1
DHCP running on eth1
IPTABLES set up to masquerade on eth0
I have a computer connected up via server's eth1. It's IP is 192.168.0.201 (/etc/init.d/networking restart) gives me a DHCPOFFER and everything, so DHCP seems to be working fine.
Server:
can access internet I can ssh into 192.168.0.201 (even though it seems to take longer than usual)
192.168.0.201:
can ping server (well duh, I ssh'ed in from the server) cannot access internet for DNS on the internal NAT I'm using the same DNS servers as the router, so the server's
resolv.conf:
nameserver 69.169.190.211
nameserver 208.72.160.67
[code]....
I have had a router die on me and have bought another (maybe a bad buy!) The new router is Linksys WAG120n. Ethernet is fine. Laptop wireless adapter is Atheros AR5009 802 11a/g/n. I have setup a wireless connection but it is not connecting to it. I have checked the router settings and these seem to be OK! I'll try to give any details required.
View 2 Replies View RelatedUnder ubutntu 10.04 I'm unable to acces the config page 192.168.1.1 the browser just won't open th page (and I have Internet as I'm writing this right now).
View 9 Replies View RelatedFirstly, the actual problem I'm having is that when I start my computer (netbook) up in the morning and try to connect to the router (wirelessly) it just... doesn't work. I've used it before, at full signal strength, and it was completely fine. It never disconnects me or anything - but if I shut down my computer, like I do overnight, when I start it up again often it's hardly getting a signal at all (or so it says) and when it tries to connect it makes the connecting animation and occasionally flashes to a circular thing like firefox's loading animation. Eventually it just fails.
I try restarting my computer, but it doesn't seem to help. The last time, I had to wait until the signal looked "full" again, then delete the settings in "edit connections" for that router and only then would it let me log in again, even though I was using the same password from the same computer (even in the same place). That only seems to help when the connection looks "full" though, and even then, not always. Normally I'd try resetting the router, but I can't because it's locked in the next room (I rent a room here and the guy with the key is rarely around) but honestly I don't think the router is causing this, for a few reasons:............
Ubuntu 9.10 comes with rt2870, the driver for my Zonet ZEW2545, and I have had to blacklist rt2800usb in /etc/modprobe.d/blacklist.conf in order for rt2870 to work. My network adapter is able to attempt to connect to my router, but after 10-40 seconds it tells me I am disconnected again. This adapter works fine on windows.
View 1 Replies View Relatedwhen I was still at my university room where the connection would work after a few reboots. After moving back home the connection worked on and off for a day before not working at all. NetworkManager is telling me that I am connected and have an ip address, etc, but nothing is able to get an internet connection. I am able to ping myself but am not able to ping my router. Everything works fine on M$ and other PC's on the network, it's just my ubuntu 10.04 that is playing up.
View 9 Replies View Relatedi have Fedora 13 dual booting with Win XP and i cannot ping my router in Fedora. just reinstalled and i'm still unable to ping my router.everything looks like it was installed correctly except in the ifcfg-eth0 it has IPV4_FAILURE_FATAL=yes dont think this should have a value of yes.
View 13 Replies View RelatedI have an external hard drive connected to my router. From Windows I can access it, but from Ubuntu I can see the hard drive, but when I try to access, I'm asked for a password. However my network does not have a password neither the hard drive.
What must I do?
just switched from Windows Vista to Ubuntu 10.10 on my Toshiba laptop and I'm loving it, except for some wireless connection problems. About 70% of the time, my computer is unable to find any wireless signals whatsoever, despite being right next to the router. When it does find the signal it connects fine and runs great, but most of the time it doesn't show any signals at all. I can't find any pattern to when it does or doesn't find the signal. My result for the "sudo lshw -C network"
[code]...
I have a router which have 4 ethernet ports(eth0,eth1,eth2,eth3,eth4 ) & One ADSL Line & One USB, I need to configure My router eth3 as a WAN & eth0 as a LAN using iperf, I am going to findout test a my Application(using iptables) whether my application is correct or wrong As of now I configured like server pc1(192.168.1.230)--->eth0(gw)(192.168.1.1)Router--eth3(gw)(192.168.2.1) -->pc2(192.168.2.157). For eth3 as a WAN and eth0 as a LAN. But I am not able to ping between two pc's.
View 1 Replies View RelatedI am trying to make a vnc connection from pc #2 to pc #1. Pc #1 is a debian pc behind a zyxel router (P-2602HW-D1A). Pc #2 is a windows xp pc another place at the internet.I have configured the zyxel router to forward incomming trafic on port 5902 to the local ip-adress of the debian box. The debian box is running a vnc server, listening on port 5902.But i dosn?t work.I have tryed to scan the zyxel routers ipadress on port 5902 from the internet, but the scanner says that the port is closed.The vnc server on pc #1 is working fine on the local network. I can connect to the server from a pc on the same side of the zyxel router.Is it deffenitly a router problem, or could it have something to do with debians own firewall?
View 2 Replies View RelatedI 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 RelatedProblem Summary: - Linksys WRT54G dd-wrt NOT able to route when in Router mode
Env:
- Linksys WRT54G running dd-wrt v24 firmware
- LAN Subnet: 10.0.0.0/8
- WAN Subnet: 172.16.0.0/16
- Linux FC13 configured as a IPv4 router
- LAN 172.16.0.0/16
- WAN ISP/Public IP
[Code]...
I own a D-Link DI-604 wired router and I've started getting some issues after Ubuntu 9.10 to 10.04 upgrade(Ubuntu 9.04 used to work OK!). The problem is that Ubuntu recognizes all my ethernet cards (see below), but I can only connect to the internet through eth1 not eth0 (which is my Windows default). If I try to plug the cable in eth0 nothing happens (at least not in Ubuntu 10.04 and 9.10).
Code:
lucas@lucas-desktop:~$ sudo lshw -C network
[sudo] password for lucas:
*-network:0
description: Ethernet interface
[code].....
I installed Ubuntu on a machine after erasing everything else and the wireless has never worked. It says that the wireless has already shut down even though it recognizes the wireless network and my other non-linux machines see the network and work fine.
View 1 Replies View RelatedBecause 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 RelatedI am trying to setup a dhcp server for my internal network. I have two NICs, a modem, and a wireless router. I have my server connected directly to my modem which is providing me with Internet access on eth1 and is working fine. I have dhcp and dns setup on eth0 which is connected to my router. The router shows that it is connected to the Internet but when the router gives a client computer an IP address, the client is unable to connect to the Internet but can connect to the router. I will post my configuration files below with my current configuration.
[Code]....
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?
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.
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