Hi all,

I have a smal home network with my PC (Redhat 7.3) and my notebook (Win.-XP).
I have Samba running and can share Linux files and printer. (Cool!)
The question is:
How do I tell the XP-box to find my ADSL connetion on the Linux machine?
My external connection goes through eth0, while the internal network is through eth1.
I have a firewall script of a friend of mine which does the IP-forwarding.
Is there any other option I should set (except for the ones below)? (got these from some HOWTOs)
What should be the settings on the XP-box?

Thanks,

Pepijn.

Some data regarding my system:

[root@oertrol root]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:50:BF:5D:4E:0A inet addr:10.0.0.1 Bcast:10.0.0.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:78298 errors:0 dropped:0 overruns:0 frame:0
TX packets:85678 errors:0 dropped:0 overruns:0 carrier:0
collisions:1048 txqueuelen:100
RX bytes:36028301 (34.3 Mb) TX bytes:37525634 (35.7 Mb)
Interrupt:9 Base address:0x2000

[root@oertrol root]# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:02:44:48:5E:7A inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6600 errors:0 dropped:0 overruns:0 frame:0
TX packets:6306 errors:73 dropped:0 overruns:0 carrier:145
collisions:0 txqueuelen:100
RX bytes:1010207 (986.5 Kb) TX bytes:1064361 (1.0 Mb)
Interrupt:10 Base address:0xe800

[root@oertrol root]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
195.190.242.145 * 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
10.0.0.0 * 255.0.0.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 195.190.242.145 0.0.0.0 UG 0 0 0 ppp0

[root@oertrol root]# more /etc/sysconfig/network
NETWORKING=yes
FORWARD_IPV4=yes
HOSTNAME='oertrol'

Moreover in |/etc/sysctl.conf| I set the options

net.ipv4.ip_forward = 1 net.ipv4.ip_always_defrag = 1




--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to