You are not logged in.
I have a home server that among other things share internet connexion with my other computers.
I recently update it and had to modify my /etc/rc.conf
Now my other computers doesn't have internet anymore because of a unworking dhcp (dhcp is assume by dnsmasq)
First a realized my eth1 interface isn't configure correctly now
My rc.conf was :
#eth1="eth1 192.168.42.42 netmask 255.255.255.0 broadcast 192.168.42.255"
#eth0="dhcp"
#INTERFACES=(eth1 eth0)
It now contains :
interface=eth1
address=192.168.42.42
netmask=255.255.255.0
gateway=
interface=eth0
address=
netmask=
gateway=
What did I miss?
Even when I set my eth1 properly running "ifconfig eth1 192.168.42.42 netmask 255.255.255.0 broadcast 192.168.42.255"
My dhcp server doesn't work. I restart dnsmasq. I can see other computer probes with tcpdump but no answer.
Does anyone know where that come from?
Offline
Hi Bruce,
I've just started looking at this new network configuration myself and I am struggling to see why the change was needed. Here the nub: you can only set up one network in rc.conf now!
In your config you have two networks, the first configuration (eth1) gets overwritten by the second (eth0). I guess your eth0 works but eth1 doesnt ?
I don't have a solution for you because I am only trying to solve this myself now. I have several interfaces and a bridge quite happily co-existing in my old-style rc.conf and the new format can't represent it.
Aparently you need to use "netcfg" which is fine for laptops etc but seems to me overkill for a wired server or desktop.
There seems to be very little information out there as to why this change has been made and I am a little confused myself.
Not sure if that helps at all ...
Offline
net-tools was deprecated because it had been unmaintained for close to a decade, which is why this change was mandated.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
net-tools was deprecated because it had been unmaintained for close to a decade, which is why this change was mandated.
The change many people are complaining about is not net-tools -> iproute2, but flexible configuration -> one-interface-one-address-only in rc.conf (which is not at all imposed by iproute2).
Offline
you can have what you need using netcfg to setup the second card. or setup both with it if you wish
Offline
I will try with netcfg but It will take a while.
Thanks all for answering.
Offline