We've got two ethernet cards on a single machine say havin ips
10.1.1.1
and 10.1.2.1
Now the samba server runs on 10.1.1.1
I want to be able to run samba on both 10.1.1.1 and 10.1.2.1
or any one of them as reqd.

regards sanjay
 

 /sbin/ifconfig 's output is
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
          UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
          RX packets:199 errors:0 dropped:0 overruns:0
          TX packets:199 errors:0 dropped:0 overruns:0

eth0      Link encap:10Mbps Ethernet  HWaddr 00:80:C8:51:DB:94
          inet addr:10.1.1.1  Bcast:10.1.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6857 errors:0 dropped:0 overruns:0
          TX packets:7549 errors:0 dropped:0 overruns:0
          Interrupt:5 Base address:0x300

eth1      Link encap:10Mbps Ethernet  HWaddr 00:80:C8:51:D7:B5
          inet addr:10.1.2.1  Bcast:10.1.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3035 errors:0 dropped:0 overruns:0
          TX packets:2615 errors:0 dropped:0 overruns:0
          Interrupt:9 Base address:0x280

sbin/route
Kernel routing table
Destination     Gateway         Genmask         Flags MSS    Window Use Iface
localnet        *               255.255.255.0   U     1500   0       31 eth0
10.1.2.0        *               255.255.255.0   U     1500   0       10 eth1
loopback        *               255.0.0.0       U     3584   0        4 lo
default         virtualx.net.in *               UG    1500   0       37 eth0
 

-- 
______________________________________________________________________________

Sanjay Shukla, Java Developer
Quantum Link Communications Pvt. Ltd.,Mumbai,India. Pin 400034
email-id   : [EMAIL PROTECTED]
           : [EMAIL PROTECTED]
Home Page  : http://members.tripod.com/sanjay_shukla

Eat , Drink and Remarry ;-) !!!!!!!!!!!!!!!!!
------------------------------------------------------------------------------
 

Reply via email to