[opensuse] translate Ubuntu ifup
Hi On an Ubuntu box, we have this: /etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback auto eth0 iface eth0 inet manual bond-master bond0 auto bond0 iface bond0 inet static address 192.168.1.82 gateway 192.168.1.1 netmask 255.255.255.0 dns-nameserver 192.168.1.132 bond-slaves none auto eth1 iface eth1 inet static address 192.168.0.10 netmask 255.255.255.0 How do I convert that to 13.1? Where does it go? What do I change? Thanks, L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
В Sat, 23 Aug 2014 08:13:57 +0200 lynn <lynn@steve-ss.com> пишет:
Hi On an Ubuntu box, we have this: /etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback
auto eth0 iface eth0 inet manual bond-master bond0
auto bond0 iface bond0 inet static address 192.168.1.82 gateway 192.168.1.1 netmask 255.255.255.0 dns-nameserver 192.168.1.132 bond-slaves none
auto eth1 iface eth1 inet static address 192.168.0.10 netmask 255.255.255.0
How do I convert that to 13.1? Where does it go? What do I change?
Just configure them using YaST. For bonding first configure physical interface as "No link and IP setup (bonding slaves)", then add bond interface and select slaves. If you insist on doing it manually - files are under /etc/sysconfig/network, ifcfg-<interface>. There is also ifcfg.template with explanations of possible settings. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sat, 2014-08-23 at 14:27 +0400, Andrei Borzenkov wrote:
В Sat, 23 Aug 2014 08:13:57 +0200 lynn <lynn@steve-ss.com> пишет:
Hi On an Ubuntu box, we have this: /etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback
auto eth0 iface eth0 inet manual bond-master bond0
auto bond0 iface bond0 inet static address 192.168.1.82 gateway 192.168.1.1 netmask 255.255.255.0 dns-nameserver 192.168.1.132 bond-slaves none
auto eth1 iface eth1 inet static address 192.168.0.10 netmask 255.255.255.0
How do I convert that to 13.1? Where does it go? What do I change?
Just configure them using YaST. Hi OK. Didn't know it did bonding. Not as quick as pasting to a file, but still. . . Thanks.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sat, 2014-08-23 at 14:27 +0400, Andrei Borzenkov wrote:
В Sat, 23 Aug 2014 08:13:57 +0200 lynn <lynn@steve-ss.com> пишет:
Hi On an Ubuntu box, we have this: /etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback
auto eth0 iface eth0 inet manual bond-master bond0
auto bond0 iface bond0 inet static address 192.168.1.82 gateway 192.168.1.1 netmask 255.255.255.0 dns-nameserver 192.168.1.132 bond-slaves none
auto eth1 iface eth1 inet static address 192.168.0.10 netmask 255.255.255.0
How do I convert that to 13.1? Where does it go? What do I change?
Just configure them using YaST. For bonding first configure physical interface as "No link and IP setup (bonding slaves)", then add bond interface and select slaves. If you insist on doing it manually - files are under /etc/sysconfig/network, ifcfg-<interface>. There is also ifcfg.template with explanations of possible settings.
A few bits. On Ubuntu we have to install some stuff and: modprobe bonding - On 13.1, is that part of what the Yast setup does? We have 2 network interface cards but need 3 ips, 2 to the domain switch and the other to a crossover cable between the cards, hence the bond. Would it be better to fit another card and lose the bond? I'm not sure if we can do that: 192.168.1.82 the IP of the box 192.168.1.80 and 192.168.1.81 the domain IPs from tdb 192.168.0.10 the crossover ATM, one cable carries all the outbound traffic. Would a card for each do that? If so, could Yast do that too? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, Aug 25, 2014 at 12:56 PM, lynn <lynn@steve-ss.com> wrote:
On Sat, 2014-08-23 at 14:27 +0400, Andrei Borzenkov wrote:
В Sat, 23 Aug 2014 08:13:57 +0200 lynn <lynn@steve-ss.com> пишет:
Hi On an Ubuntu box, we have this: /etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback
auto eth0 iface eth0 inet manual bond-master bond0
auto bond0 iface bond0 inet static address 192.168.1.82 gateway 192.168.1.1 netmask 255.255.255.0 dns-nameserver 192.168.1.132 bond-slaves none
auto eth1 iface eth1 inet static address 192.168.0.10 netmask 255.255.255.0
How do I convert that to 13.1? Where does it go? What do I change?
Just configure them using YaST. For bonding first configure physical interface as "No link and IP setup (bonding slaves)", then add bond interface and select slaves. If you insist on doing it manually - files are under /etc/sysconfig/network, ifcfg-<interface>. There is also ifcfg.template with explanations of possible settings.
A few bits. On Ubuntu we have to install some stuff and: modprobe bonding - On 13.1, is that part of what the Yast setup does?
I never needed to manually modprobe anything so I assume yes.
We have 2 network interface cards but need 3 ips, 2 to the domain switch and the other to a crossover cable between the cards, hence the bond.
I am afraid I miss relationship between multiple IPs and bond. Just add more IP addresses to interface if required. I do not understand why you need bond to do it.
Would it be better to fit another card and lose the bond? I'm not sure if we can do that: 192.168.1.82 the IP of the box 192.168.1.80 and 192.168.1.81 the domain IPs from tdb 192.168.0.10 the crossover
ATM, one cable carries all the outbound traffic. Would a card for each do that? If so, could Yast do that too?
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Andrei Borzenkov
-
lynn