3.3. Putting the Configuration Together
eth0connects to public network and
eth1connects to the private network, then these same devices on the backup LVS router must connect to the same networks.
3.3.1. General LVS Networking Tips
- Bringing Up Real Network Interfaces
- To bring up a real network interface, use the following command as root, replacing N with the number corresponding to the interface (
WarningDo not use the
ifupscripts to bring up any floating IP addresses you may configure using Piranha Configuration Tool (
eth1:1). Use the
servicecommand to start
pulseinstead (see Section 4.8, “Starting LVS” for details).
- Bringing Down Real Network Interfaces
- To bring down a real network interface, use the following command as root, replacing N with the number corresponding to the interface (
- Checking the Status of Network Interfaces
- If you need to check which network interfaces are up at any given time, type the following:
/sbin/ifconfigTo view the routing table for a machine, issue the following command: