[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Connecting a Laptop to a Local Network to get Internet Access
- From: rab <rab nauticom net>
- To: redhat-install-list redhat com
- Subject: Re: Connecting a Laptop to a Local Network to get Internet Access
- Date: Sun, 04 Jan 2004 11:19:35 -0500
Manuel Aróstegui Ramirez wrote:
Tray to configure your desktop computer to forwading packages which 192.168.1.1 send, and change that IP and put one like 10.x.x.x.
Now you have got a computer desktop which is also a gateway between your laptop (which is in a ethernet) and the Internet.
Cheers
snip
Manuel Aróstegui Linux user 200896
The desktop computer (192.168.1.1 on eth1) has a public IP address on
eth0. I can access the Internet from the desktop computer. IP forwarding
was (is) enabled:
# Enables packet forwarding
net.ipv4.ip_forward = 1
# Enables source route verification
net.ipv4.conf.all.rp_filter = 1
# Disables automatic defragmentation (needed for masquerading, LVS)
net.ipv4.ip_always_defrag = 0
# Disables the magic-sysrq key
kernel.sysrq = 0
But I get an error message:
[root rab chippy]# sysctl -p
bash: sysctl: command not found
[root rab chippy]# /sbin/sysctl -p
net.ipv4.ip_forward = 1
net.ipv4.conf.all.rp_filter = 1
error: 'net.ipv4.ip_always_defrag' is an unknown key
kernel.sysrq = 0
Rick B.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]