ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Как сделать NAT
@ 2005-02-03  6:43 Igor V.Marenkov aka some_x
  2005-02-03  7:45 ` [Comm]Как " unix9
  2005-02-03  8:07 ` [Comm] Как " Genix
  0 siblings, 2 replies; 21+ messages in thread
From: Igor V.Marenkov aka some_x @ 2005-02-03  6:43 UTC (permalink / raw)
  To: community

Здраствуйте, извиняюсь что спрашиваю тривиальные, для кого-то, вещи, но 
я в сети вменяемой информации по настройке NAT`а не нашёл. Итак задача, 
имеется комп(АЛМ2.4) который должен быть роутером:
route:
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface
192.168.2.0     *               255.255.255.0   U     0      0        0 eth0
192.168.1.0     *               255.255.255.0   U     0      0        0 eth1
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         192.168.1.5     0.0.0.0         UG    0      0        0 eth1
default         *               0.0.0.0         U     0      0        0 eth0
т.е в интернет он ходит через eth1(192.168.1.5 - ADSL модем, 192.168.1.3 
- eth1, 192.168.2.6  -eth0), находится то же АЛМ2.4(хотя иногда винда, 
так что хотелось бы универсальное решение) с адресом 192.168.1.7, 
которому необходимо обеспечить интернет. Собственно вопрос - как это 
сделать.
 Доплнительный вопрос - сейчас при каждом запуске компьютера(который 
должен взять ф-ции роутера) выполняю  команду route add default gw 
192.168.1.5 eth1, как правильно сделать чтоб она запускалась сама.
Буду очень благодарен за помощь.


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2005-02-10 13:48 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-03  6:43 [Comm] Как сделать NAT Igor V.Marenkov aka some_x
2005-02-03  7:45 ` [Comm]Как " unix9
2005-02-03 13:06   ` Igor V.Marenkov aka some_x
2005-02-03 13:13     ` Re[2]: " Sergey A. Kolesnitchenko
2005-02-03 17:46       ` Igor V.Marenkov aka some_x
2005-02-04 11:09         ` Re[2]: " Sergey A. Kolesnitchenko
2005-02-03 14:16     ` unix9
2005-02-03 17:34       ` [Comm]Как " Igor V.Marenkov aka some_x
2005-02-03 19:58     ` Denis Kirienko
2005-02-04  8:09       ` Igor V.Marenkov aka some_x
2005-02-04  8:14         ` Alexey I. Froloff
2005-02-04 18:21           ` Igor V.Marenkov aka some_x
2005-02-03  8:07 ` [Comm] Как " Genix
2005-02-03 10:55   ` Igor V.Marenkov aka some_x
2005-02-03 12:10     ` Andriy Dobrovol's'kii
2005-02-03 12:51       ` Igor V.Marenkov aka some_x
2005-02-03 14:47         ` Andriy Dobrovol's'kii
2005-02-03 17:53           ` Igor V.Marenkov aka some_x
2005-02-03 19:39         ` Denis Kirienko
2005-02-03 20:59           ` Igor V.Marenkov aka some_x
2005-02-10 13:48   ` georg l k.

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git