Fedora Networking :: NetworkManager Static Ip And Routing ?
Apr 14, 2009
I have just installed Fedora 10 on an old laptop and was quite impressed with how smoothly it all went ... until it came to setting up networking!
I have battled for three days now and I'm almost there;
- installed updated firmware to the built in Broadcom 4306 wireless network adapter
- got NetworkManager to work with a static ip address by manually editing the ifcfg-wlan0 file
- managed to get the WPA security to work
The only problem I am left with is that there is no default route; if I set one up using: ip r a default via 10.1.1.1 dev wlan0
Then everything starts working.
If I try to add routes using the NetworkManager gui interface they dont get saved (no suprises there then! ).
I have tried creating a route-wlan0 file in /etc/sysconfig/network-scripts/ but this seems to be ignored by NetworkManager.
Since the NetworkManager GUI is almost useless, does anyone know if there are any other configuration files I can manually modify to get a default route set?
from the router it split into 2 connection one to my GW (linux debian) and another to a switch which is connected to a web/email server and the gateway.
My gw use x.x.x.27 and x.x.x.26 (everything I use on these ips is ok)
on the web/email server I have x.x.x.28 29 and 30
With this setup it's ok but I want to eliminate the link to the switch and make it pass thru the GW and i can't manage to get it work!
I have a block of 5 static ip's and 2 servers that push HTTP and other services. What is the best method of configuring/routing traffic to individual boxes on the network?
More detail: One of my static IP's is assigned to a dedicated box for an Ubuntu mirror. Another static IP is assigned to a server with all of the HTTP traffic.
Several configurations function to route traffic appropriately (forwarding proxy or 1-to-1 NAT). However, with 1-to-1 NAT, the box is left open to the world with only the software firewall. Do I really need to place a hardware firewall inline to EVERY server?
Or, what other methods of routing and firewall would you recommend?
I want to use tab networking in my kvm with routing.Can any one guide me how i can do it. i have been reading different guides over the net but not understand any one clearly.I have read this[URL].. One problem is this all my server are remote and no gui is running.I am able to install kvm with ssh console with -nographic and -x "console=ttyS0" option now i want to change from bridging to tap networking with routing.And i have live ip on kvm guest/Virtual machine.
IN LAN default GW box I have a routing rule of 172.17.1.0 192.168.180.100 255.255.255.0 UG 0 0 0 eth3 that sends packets matching 172.17.1.0/24 to eth3 etc. When I ping 172.17.1.50 - it goes correctly when ping is issued in the same box (LAN GW) - falls through to default rule when the ping is done in LAN's boxes i.e. it goes to the LAN GW box and then to Internet incorrectly instead of going to eth3 and 192.168.180.100.
Is there any way of seeing why the packet matches or not the routing rules?
I have a Pc that has 2 Ethernet and I have also 2 switch. I want the PC to become the router and be connected to 2 switch.How can I setup this one on FEDORA and I want to assigned for eth0 192.168.26.51 and eth1 192.168.22.51 for the IP.
On a Fedora 11 machine, I configured ppp0 on eth0 and ppp1 on eth1, each one is connected to a modem, I also defined ppp0 as the default gateway.. Should I do anything else to load balance the 2 connections or will ppp1 take some of the load by default? Should I add any other routing rules? If yes then please tell me what should I add, keeping in mind that for each pppoe connection both the pppoe address and the remote address are not static so I actually needed some scripting to change the default gateway each time the remote pppoe address changes.
On the ROUTER I have set the ip_forward=1 and eth0.proxy_arp=1 and eth1.proxy_arp=1 then I run the following command : route add -net 192.168.2.0/24 gw 192.168.2.1 dev eth0 route add -net 192.168.4.0/24 gw 192.168.4.1 dev eth1
On PC1 I executed the following : route add -net 192.168.4.0/24 gw 192.168.2.1 dev eth0 and for PC2 I run the following route add -net 192.168.2.0/24 gw 192.168.4.1 dev eth0
After doing those things, I can't ping between PC1 and PC2... but both can ping the router...
I'm currently reading through the Linux Advanced Routing and Traffic Control HOWTO from lartc.org, and I'm wondering whether anyone knows of a file where I could keep qos rules persistent across a reboot, similar to /etc/sysconfig/iptables for netfilter. Should I just write my own script, or does something already exist? By the way, iproute-2.6.29-4.fc12.i686.
I have a problem with the activation of routing under fedora. The problem lies exactly in the file ip_forward who I didn't not change the value to 1. When I use the command echo 1> / proc/sys/net/ipv4/ip_forward. They appears not granted permission. Knowing that I use the root account.
i have a Server, which has 2 nics installed. Each of those is connected to a router, which is connected to internet. On the server, i have apache, maillserver and im-server running. On the other hand, also squid, dansguardian and clam are running. so now: via eth0 i would like to have just the traffic, which is requested from outside (the big bad internet..) to my server (apache, mail, etc). via eth1 i would like to have all OUTGOING (also to the big bad internet) from the server, which is requested by a internal client. And of course all requests to my own server
both nics shall route their traffic to their own router. For better comprehension please consult the enclosed graph. Until now, i did not find a good solution, the default route is set to the traffic from eth0, if not, no external request will find back to a client do you have a idea how to handle this the easiest way?
I have no problems seeing the networks available and connecting to a network in KDE. But there is no network manager in GNOME. I might have messed up with the settings earlier. What I can do though is run knetwork manager every time I start up (or add it to start up programs). But that opens up the KDE wallet which would rather avoid.I am thinking I need to install something related to NetowrkManager.
if the NetworkManager uses wpa_supplicant? I normally dont use NetworkManager and decided to try it. I started it and tried it out and it works with WEP and WPA! I cant figure out why using the iwconfig command is not working by itself for WEP. WPA working with NetworkManager is just a bonus though.
I'm an inordinate amount of trouble getting F15 to run without NetworkManager. If I boot with the NetworkManager service enabled, my NIC presents as expected at /dev/eth0 (I'm using biosdevname=0). However, when I stop the NetworkManager service, /dev/eth0 disappears from the filesystem.If I boot without NetworkManager enabled, /dev/eth0 is never created. Reviewing dmesg, udev is loading an ethernet driver.
I don't know what I'm trying to achieve falls into 'routing' or 'Bridging'???I have two network ports (with static IP ) and I would like to forward RX packets of one to the other.
I have done this in Windows by enabling a service called 'routing'.Is there something similar in Fedora 11? I am pretty sure there are a few thread explaining these but I am just not educated enough to find one that makes sense to me, so Please excuse me for starting a redundant thread and point me to it?
I am having trouble for routing port 80 from a Billion adsl modem to a guest server in VirtualBox. There are quite few different changes from my last setup so I kind of confuse which one is wrong.
I used to use have the setup belowusing modem Linksys WAG354G use static ip 192.168.1.100 for my machine use static ip 192.168.1.102 for my guest VirtualBox server guest OS is serving http listening on port 80 i use bridge from my host OS for VirtualBox set my modem to direct all traffic on port 80 to 192.168.1.102 host OS was Fedora 11
now I useusing modem Billion 7404VNPX use same static address and configuration host OS is Fedora 13
main issue is I cannot reach the guest OS if I navigate to my modem ip address. (e.g. http://192.168.1.1) if I change the modem to direct all traffic to my host OS ip address (192.168.1.100) it works nicely.
I have tried to disable and enable the firewall without any luck.
I loaded F10 up on my laptop a few nights back. NetworkManager connects via Ethernet just fine. It will also connect wirelessly, but only when security is disabled. I've been using 128-bit WEP.
When I try to connect using security, this is what appears in the log:
Code: Jan 29 21:07:17 localhost NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete. Jan 29 21:07:17 localhost NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
after fiddling around with compiz-fusion and KDE, my network suddenly disappeared. I looked in the package manager and apparently I don't have the gnome applet for networkmanager...but everything else I seem to have (the git version not svc or w/e) Anyone know if installing the applet will let me choose my wireless network and connect to it? Right now I think so, but what I have to do is boot into windows, find the package on the web and download it, then boot into fedora and install it
where I can find the fedora 10 networkmanager-gnome package (git version for x86_64)? I looked around and found the svc version and a git version for i386, but my OS is x86_64 and I couldn't find any git versions of it for 64-bit fedora's. btw, I have no idea what git and svc mean, but when I tried to install the svc version, it told me I had to install svc versions for all the other networkmanager packages...
I recently installed F10 x86_64 on my Lenovo T61 laptop, and while I'm quite pleased with F10, I am having a difficult time with my wireless card. I spent most of yesterday searching for a solution, but none have presented themselves. Scenario: I am trying to connect to a HIDDEN SSID with NO ENCRYPTION (work Wifi, don't ask) using network-manager and its associated applet.
Symptoms: I left-click on NetworkManager, select "Connect to Hidden Wireless Network", enter my information, NetworkManager does a few things, and finally I'm told that NetworkManager cannot connect to my network.
Just upgraded from Fedora 10 to 11 and cannot setup wireless connection via NetworkManager. By some reason it doesn't store WPA key. There are following errors in the message log:
Code: Aug 14 14:37:05 mike-dev NetworkManager: <WARN> connection_get_settings_cb(): connection_get_settings_cb: Invalid connection: 'NMSettingConnection' / 'uuid' invalid: 1 Aug 14 14:37:11 mike-dev NetworkManager: <WARN> wait_for_connection_expired(): Connection (2) /org/freedesktop/NetworkManagerSettings/2 failed to activate (timeout): (0) Connection was not provided by any settings service
I upgraded from F14 to F15 using the DVD. The network worked fine after the upgrade.This morning I updated to the latest RPMs and rebooted, and now the network donot work!ifconfig shows only the lo interface. NetworkManager does not start, /var/log/messages shows signal 11.I tried to boot with the original kernel, but the results are the same.
i'm trying to replace default F15 NetworkManager with wicd. i installed wicd and used "chkconfig NetworkManager off" to disable NM but the problem i'm getting is
1. after each reboot i have to start wicd manually from su. any solution to get it loaded automatically?
2. also as i stopped nm, i have no network shortcut in taskbar, anyway wicd icon can be integrated in taskbar?
downgrading PPP, NetworkManger, and NetworkManager-gnome. This worked but is there an easy way to know when it is safe to apply the updates that are available?
I just updated my Fedora 10 installation with the latest NetworkManager (NetworkManager-0.7.0.99-4.git20090324.fc10.i386) and now my NetworkManager fails to start. The output in the /var/log/messages is
Kinda fed up with NetworkManager. Since trying the betas of F11 on my laptop, i've had endless bad experience with it.
Installed version: 0.7.1
Aside from the description below, please let me know what detailed system info you want to see (specific commands appreciated).
When i log in, the applet loads. However, it doesn't connect to the last Wifi connection i used. My SSID is hidden, so i click on the applet and choose "Connect to hidden wireless network". i see my stored connection in the drop-list. i select it, and all fields are greyed out, the WPA key is blank, and the Connect button is disabled.
Leaving that dialog, i delete my stored connection and re-create it manually, setting all the information correctly. i have DSL, using my DSL modem in bridging mode, and for some reason NetworkManager doesn't retrieve the DNS entries from the modem, whereas Windows does. So i have to set the connection to "DHCP (Address Only)" and manually add the IPs for my DNS.
However, the connection doesn't initiate, so i click the applet again and attempt again to connect to my hidden SSID, using the newly created profile. Same problem: no WPA key, all boxed disabled, and Connect also disabled.
The ONLY way i can get this thing to connect is by deleting my stored connection, clicking to connect to a hidden SSID, and create the connection from the New dialog. However, then i still have to go into Edit Connections and set the DHCP and DNS correcly before i can reach outside.
This is ridiculous, and i haven't been messing with any other configuration. i had a thread when F11 was still in beta where i had inconsistent results with NetworkManager. After thinking i got it fixed with some help, and discovering it wasn't, i decided to wait for the final release to see if it would work any better.
(automatically connect to the last active connection), consistently (connects when it loads at login every time), Otherwise, if there's a different connection manager, i'm open to that as well. Especially if the alternate connection manager can automatically retrieve DNS settings the way Windows can.