Hi!
I'm stuck helping a friend, so I have to turn to you for some help.
Helping someone (my friend) remote sure is a drag.
I configured a 2 working ethernet cards on his Debian-box first, eth0 as 193.168.1.101 and eth1 as 193.168.1.102. Then added "iptables -t nat -A POSTROUTING -o ppp0 -s 0.0.0.0/0 -j MASQUERADE"
Now I want to connect to the gateway with his laptop with Fedora Core 2 installed.
First I ran:
"ifconfig eth0 192.168.1.103 netmask 255.255.255.0 ; route add default gw 192.168.1.102"
Then I edited /etc/resolv.conf and added his ISP's DNS's
search .
nameserver 193.212.1.11
nameserver 193.212.1.10
And off we go. Both LAN and Internet is working perfectly on the Fedora laptop.
Then since my friend is a noob I wanted his laptop to do things for him automatically. And I found system-config-network to be a good tool for my friend to use. I walked him through the config and I'm pretty sure everything is sweet.
So save and exit.
Then comes the problems.
After a reboot of the laptop I can not ping 193.168.1.103 (the laptop), and I can not ping 193.168.1.102 or 193.168.1.101 (Debian-box) from the laptop. And thereby no access to the internet from the laptop.
And everything looks good in ifconfig.
I tried to run the old "ifconfig eth0 192.168.1.103 netmask 255.255.255.0 ; route add default gw 192.168.1.102" again, but this time the operation is not permitted. Then I tried them one by one., and ifconfig works fine. Though running "route add default gw 192.168.1.102" it tells me "the file exists".
Still no network up and running.
I need some hints on what to do and look for here, guys. It worked, after using system-config-network it doesn't.
Thank you!
grevlingen