|
|
On Tue, 10 May 2005 23:33:40 +0200, John Johansson wrote:
> I'm trying to set up a home network at home between my Slackware box and
> a laptop running Win XP, but i don't have a clue on how to do it. I've
> got 2 nics in my slackware box = eth0 - eth1. eth1 is for internet and
> is set up correctly, and now i want eth1 to serve my Win XP laptop. Can
> someone give me some hints on how to do this? With dhcpd? How? Here's my
> output from ifconfig:
>
> eth0 Link encap:Ethernet HWaddr 00:08:A1:73:56:13
> UP BROADCAST NOTRAILERS MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:0 (0.0 b) TX bytes:7080 (6.9 Kb)
> Interrupt:18 Base address:0xb000
>
> eth1 Link encap:Ethernet HWaddr 00:0F:EA:4B:25:A1
> inet addr:213.67.250.59 Bcast:213.67.250.255 Mask:255.255.255.0
> UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:4482290 errors:0 dropped:0 overruns:0 frame:0
> TX packets:5559116 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:846539024 (807.3 Mb) TX bytes:1855402329 (1769.4 Mb)
> Interrupt:23 Base address:0xe800
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:3680 errors:0 dropped:0 overruns:0 frame:0
> TX packets:3680 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:164624 (160.7 Kb) TX bytes:164624 (160.7 Kb)
>
> ppp0 Link encap:Point-to-Point Protocol
> inet addr:192.168.0.1 P-t-P:192.168.0.2 Mask:255.255.255.255
> UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
> RX packets:42648 errors:0 dropped:0 overruns:0 frame:0
> TX packets:10525 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:3
> RX bytes:2076292 (1.9 Mb) TX bytes:1787396 (1.7 Mb)
>
> ppp0 is connected to my other laptop running slackware aswell.
>
> /john
For starters, you're going to need to tell the laptop to use the linux box
as a gateway if you haven't done so already.
|
|