ubuntuforums-unanswered team mailing list archive
-
ubuntuforums-unanswered team
-
Mailing list archive
-
Message #08764
Re: [Question #78504]: Default gateway set for each eth device
Question #78504 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/78504
Status: Open => Answered
actionparsnip proposed the following answer:
you need a line in the interfaces file so it looks like this:
auto lo eth1 eth0
iface lo inet loopback
iface eth0 inet dhcp
iface eth1 inet static
address 192.168.100.1
netmask 255.255.255.0
gateway 192.168.100.254
broadcast 192.168.100.255
network 192.168.100.0
Obviosly change .245 for whatever address the ateway is.It's most likely
.1 which will conflict with this setup as you have set the system's
address to .1, unless you are configuring an Ubuntu router.
--
You received this question notification because you are a member of UF
Unanswered Posts Team, which is an answer contact for Ubuntu.