# ifconfig eth0:1 10.0.1.11/16
# echo 1 > /proc/sys/net/ipv4/ip_forward
На компе который будет принимать инет:
# route add default gw 10.10.1.11
10.10.1.11 - IP адрес сервера который раздает (на eth0)
10.0.1.11 - IP адрес алиаса (eth0:1)
just another blog.
05:01.0 Network controller: RaLink Device 3060
Subsystem: D-Link System Inc Device 3c04
Flags: bus master, slow devsel, latency 32, IRQ 11
Memory at fa100000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 3
Symbol: WIRELESS_EXT_SYSFS [=y]
Prompt: Wireless extensions sysfs files
Defined at net/wireless/Kconfig:122
Depends on: NET [=y] && WIRELESS [=y] && WEXT_CORE [=y] && SYSFS [=y]
Location:
-> Networking support (NET [=y])
-> Wireless (WIRELESS [=y])
Symbol: WIRELESS_EXT [=n]
Selected by: GELIC_WIRELESS [=n] && NETDEVICES [=y] && NETDEV_1000 [=y] && WLAN [=y] && GELIC_NET [=n] || PCMCIA_RAYCS [=n] && NETDEVICES [=y] && WLAN [=y] && PCMCIA [=n] || AIRO [=n] && NETDEVICES [=y] && WLAN [=y] && ISA_DMA_A
Device Drivers --->
[*] Network device support --->
[*] Wireless LAN --->
<*> IEEE 802.11 for HostAP (Prism2/2.5/3 and WEP/TKIP/CCMP)
Networking support --->
Wireless --->
[*] Wireless extensions sysfs files
ra0 Ralink STA
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 invalid crypt:0 invalid misc:0
Device Drivers --->
[*] Multimedia support --->
[*] Video For Linux
[*] Video capture adapters (NEW) --->
[*] V4L USE devices (NEW) --->
[*] GSPCA based webcams --->
SPCA561 USB Camera Driver