Lokalka + Linux (NO ETO SOVSEM DRUGAJA ISTORIA)
Вот, лог того что происходит откопал:
Jan 17 11:56:45 topol pppd[3075]: pppd 2.4.1 started by topol, uid 501
Jan 17 11:56:45 topol pppd[3075]: Using interface ppp0
Jan 17 11:56:45 topol pppd[3075]: Connect: ppp0 <--> /dev/tts/2
Jan 17 11:56:45 topol /etc/hotplug/net.agent: assuming ppp0 is already up
Jan 17 11:56:46 topol kernel: PPP BSD Compression module registered
Jan 17 11:56:46 topol kernel: PPP Deflate Compression module registered
Jan 17 11:56:46 topol pppd[3075]: local IP address 217.21.53.150
Jan 17 11:56:46 topol pppd[3075]: remote IP address 217.21.53.1
Jan 17 11:56:46 topol pppd[3075]: primary DNS address 217.21.53.5
Jan 17 11:56:46 topol pppd[3075]: secondary DNS address 193.232.248.2
Jan 17 11:56:51 topol su(pam_unix)[3118]: session opened for user root by (uid=501)
Jan 17 12:50:43 topol named[1747]: listening on IPv4 interface ppp0, 217.21.53.150#53
Jan 17 13:00:41 topol pppd[3075]: Terminating on signal 15.
Jan 17 13:00:41 topol pppd[3075]: Connection terminated.
Jan 17 11:56:45 topol pppd[3075]: pppd 2.4.1 started by topol, uid 501
Jan 17 11:56:45 topol pppd[3075]: Using interface ppp0
Jan 17 11:56:45 topol pppd[3075]: Connect: ppp0 <--> /dev/tts/2
Jan 17 11:56:45 topol /etc/hotplug/net.agent: assuming ppp0 is already up
Jan 17 11:56:46 topol kernel: PPP BSD Compression module registered
Jan 17 11:56:46 topol kernel: PPP Deflate Compression module registered
Jan 17 11:56:46 topol pppd[3075]: local IP address 217.21.53.150
Jan 17 11:56:46 topol pppd[3075]: remote IP address 217.21.53.1
Jan 17 11:56:46 topol pppd[3075]: primary DNS address 217.21.53.5
Jan 17 11:56:46 topol pppd[3075]: secondary DNS address 193.232.248.2
Jan 17 11:56:51 topol su(pam_unix)[3118]: session opened for user root by (uid=501)
Jan 17 12:50:43 topol named[1747]: listening on IPv4 interface ppp0, 217.21.53.150#53
Jan 17 13:00:41 topol pppd[3075]: Terminating on signal 15.
Jan 17 13:00:41 topol pppd[3075]: Connection terminated.
IP могут быть какие угодно.. ведь интерфейсы то разные.. на eth0 маска может быть 255.255.255.0 и на eth1 может быть такая же..
а роутинг все равно по интерфейсам должен идтить..
на всяк. случай разреши форвардинг
а роутинг все равно по интерфейсам должен идтить..
на всяк. случай разреши форвардинг
Код: Выделить всё
echo "1" > /proc/sys/net/ipv4/ip_forward
Never touch the running program!!!