Hello!
I've been searching the forums for the last three days without any resoults. Ok, the thing im trying to do should be a no-brainer, but i can't seem to find the problem. I wanna do the following:
internet <----- WinXP Pro box <-----> Slack10.0 box
Ok. I enable ICS on NIC thats connected to the internet.
Ethernet adapter Local Area Connection 4:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : RCA USB Cable Modem
Physical Address. . . . . . . . . : 00-10-95-A5-16-40
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 194.249.xxx.xxx
Subnet Mask . . . . . . . . . . . : 255.255.255.xxx
Default Gateway . . . . . . . . . : 194.249.xxx.1
DNS Servers . . . . . . . . . . . : 193.2.1.66
193.2.1.72
Then on my second NIC i set the following:
Ethernet adapter Local Area Connection 5:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : 3Com EtherLink XL 10/100 PCI For Complete PC Management NIC (3C905C-TX)
Physical Address. . . . . . . . . : 00-0A-5E-22-63-32
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.0.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
And as for the final stage of this setup, i go to Slack box and edit /etc/rc.d/rc.inet1.conf
IPADDR[0]="192.168.0.2"
NETMASK[0]="255.255.255.0"
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""
# Default gateway IP address:
GATEWAY="192.168.0.1"
and also /etc/resolv.conf where i set both dns servers:
193.2.1.66
193.2.1.72
Oh yea just on more thing: ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:04:61:70
1:0F
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:318 errors:0 dropped:0 overruns:0 frame:0
TX packets:323 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:36347 (35.4 Kb) TX bytes:34219 (33.4 Kb)
Interrupt:11 Base address:0xe600
I can ping linux box from XP and vice-versa. I cannot ping google.com which means im not connected to internet.
I can also SSH in my Slack box from XP.
I also read that i should do it the other way around ( configuring linux to act as a router, but i cant since my school is M$ oriented and i need it + im fairly new to linux and need to adjust first )
Any suggestions ?
Thank you!