Quote:
Originally Posted by gpfromnc
Thanks much for the help! I set it up as you described and ping was successful from each box. So now I know that the two cards can pass data, but my browser (Firefox) on box 2 returns a "Server not found" dialog. Any thoughts?
Thanks again.
|
now that the 2 boxes are talking it's time to look into ipchains
I haven't gotten this working myself yet but will disceibe my sucuss if I have any
setting up a proxiy server on the internet connected machine is another way to share internet connections
both of these smell complex so
I'm also looking into ssh to share the internet connection between the 2 machines
remember computers are like any thing else you work on one problem at a time
I ran into a problem with this approach on slack-11 netconfig over wrote my /etc/HOSTNAME
/etc/hosts files so that there no longer was a local host this so badly confused the rest of my networking
setup that even using a web browser to look at files almost diden't work
so I had to put back the local host name in /etc/HOSTNAME
(this is for slackware mind you )and put back the line in /etc/hosts that read
"127.0.0.1 localhost darkstar.example.net darkstar"
then I added these lines to /etc/hosts
"10.0.0.1 barnie"
"10.0.0.2 fread"
to get the connection to come up at boot time I edited
/etc/rc.d/rc.inet.conf the internet connected machine's file looks like this
# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""
# Config information for eth1:
IPADDR[1]="10.0.0.1"
NETMASK[1]="255.255.255.0"
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""
so for slack this should give you the idea of how to configure your network
now I can ping and ssh from one machine to the other by name