Debian netowrk manager
-
Hi I am having a issue with network manager.
i am setting fog up on a server with 2 network cards i want the following configuration on the cards
eth0 to be DHCP and eth1 to be 192.168.2.1but when i try to configure this with network manager it seems to be setting both with same configuration of the static IP.
I tried editing etc/network/interfaces bit with my limited knowledge it didnt go well.
i had the following lines in interfaces file
[CODE]auto eth0
iface eth0 inet dhcpauto eth1
iface eth0 inet static
address 192.168.2.1
subnet 255.255.255.0
gateway 0.0.0.0[/CODE]
eth0any ideas where i went wrong or how can i use network manager to confiure a static ip and a auto ip.
-
never mind i figured it out.
-
its not subnet, its netmask
-
I dont know if i see is a typo or something else, but after “auto eth1” you need to set iface eth1… and not eth0 again.
-
Hi,
If you have only a network card (in the example eth0), it’s :
[CODE]auto eth0
iface eth0 inet static
address 192.168.2.1
netmask 255.255.255.0
gateway 0.0.0.0 << No gateway ???[/CODE]Regards,
Ch3i. -
Guys, he solved his issue, this is an old topic. We are just playing Necromancy.