LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   dnsmasq as dhcp server on eth0 and networkmanager (https://www.linuxquestions.org/questions/linux-networking-3/dnsmasq-as-dhcp-server-on-eth0-and-networkmanager-770305/)

bartonski 12-04-2009 04:41 PM

Quote:

Originally Posted by R03L (Post 3779457)
/etc/sysconfig/network-scripts/eth0
Code:


GATEWAY0=192.168.1.1
NETMASK0=255.255.255.0
ADDRESS0=192.168.1.102

is the standart of this file..
i think created by networkmanager

I don't think that it's created by network manager... I think that it's a Red Hat thing. I think that it goes the other way around: network manager reads this file when setting routes, which is why your routes keep on getting messed up.

I think that you can change route-eth0 as follows:

Code:


NETMASK0=255.255.255.0
ADDRESS0=192.168.2.1

You don't need a gateway, because you're not sending packets past the 192.168.2.0 network. I believe that ADDRESS0 should match the ip address on eth0.

The routing on wlan0 will take care of its self, because the route is set dynamically when the IP address is assigned via DHCP.

R03L 04-13-2013 08:57 AM

Quote:

Originally Posted by bartonski (Post 3771675)
R03L,

Take another look at my previous post, I added a lot more to it; I think that I may have found a solution.

p.s. where does the nickname 'R03L' come from? It sounds a bit like R2-D2 or C-3PO :D


Nah mijn name is roel :)


All times are GMT -5. The time now is 01:59 AM.