View Single Post
Old 13th April 2007, 16:54
johN5Five^ johN5Five^ is offline
Junior Member
Join Date: Apr 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts

This is my sql1 and sql2 interface file..which's the ip is (sql1) and (sql2).

All my 4 pc is throught a hub and go to a DNS.

#vi /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
	script grep
	map eth0

# The primary network interface
iface eth0 inet static

 auto eth0

 auto lo:0	
 iface lo:0 inet static
 pre-up sysctl -p > /dev/null
This is my etc/network/interfaces file.

i dont understand is the netmask of the virtual ip, what should it be??and the 'pre-up sysctl -p > /dev/null' ...
is there anything i set wrong ..plz correct me..thx..
Reply With Quote