I have a Linux box (192.168.0.1) running Debian. The box has three ethernet cards. One of them (eth1) is used to connect to the VPN-server,
second one (eth0) is connected to a Windows box (192.168.0.101). The third one (eth2) is connected to a Solaris server (192.168.0.102).
eth0 Link encap:Ethernet HWaddr 00:80:AD:8F:B8:43
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::280:adff:fe8f:b843/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1761953 errors:0 dropped:0 overruns:0 frame:0
TX packets:3242341 errors:0 dropped:0 overruns:0 carrier:0
collisions:25343 txqueuelen:1000
RX bytes:123853855 (118.1 MiB) TX bytes:412210788 (393.1 MiB)
Interrupt:10 Base address:0xe000
eth1 Link encap:Ethernet HWaddr 00:E0:4C:59:51

B
inet addr:10.10.68.177 Bcast:10.10.69.255 Mask:255.255.254.0
inet6 addr: fe80::2e0:4cff:fe59:51db/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:98860 errors:0 dropped:0 overruns:0 frame:0
TX packets:54079 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:21401850 (20.4 MiB) TX bytes:6898665 (6.5 MiB)
Interrupt:5 Base address:0xe400
The internet connection is shared by:
# iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE all -- 192.168.0.101 anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
As you can see, I have internet on both linux box and my windows machine. The problem is that I don't know how to get my Solaris server online
now. I've tried many things but none of them worked. So would you, please, help me to configure my third ethernet card (eth2)?