Сервер + роутер
Сервер + роутер
В сеть нужно установить сервер с выполнением функций роутера, с дхцп разобрался, но вот поднялся вопрос в сети 3 модема от разных провайдеров, можно ли сделать так чтобы коннект(VPN, PPPOe, бесплатные ресурсы) на определенные ипы отсылался на определенный модем?
debian 4.0 rc0, dhcp server 2.0р15 , вот его настройки:
subnet 10.53.0.0 netmask 255.255.255.0 {
option routers 10.53.0.6;
option subnet-mask 255.255.255.0;
option broadcast-address 10.53.0.255;
option ip-forwarding on;
server-identifier server.prospect.net;
option domain-name-servers 10.53.0.6;
range 10.53.0.7 10.53.0.254;
default-lease-time 21600;
max-lease-time 28800;
option netbios-name-servers 10.53.0.6;
option netbios-dd-server 10.53.0.6;
option netbios-node-type 8;
host D{
hardware ethernet 00:00:00:00:00:10;
fixed-address 10.53.0.158;
}
}
subnet 10.53.0.0 netmask 255.255.255.0 {
option routers 10.53.0.6;
option subnet-mask 255.255.255.0;
option broadcast-address 10.53.0.255;
option ip-forwarding on;
server-identifier server.prospect.net;
option domain-name-servers 10.53.0.6;
range 10.53.0.7 10.53.0.254;
default-lease-time 21600;
max-lease-time 28800;
option netbios-name-servers 10.53.0.6;
option netbios-dd-server 10.53.0.6;
option netbios-node-type 8;
host D{
hardware ethernet 00:00:00:00:00:10;
fixed-address 10.53.0.158;
}
}
Mar 5 05:01:59 server dhcpd: DHCPDISCOVER from 00:00:00:00:00:10 via eth0
Mar 5 05:01:59 server dhcpd: server.prospect.net: temporary name server failure
Mar 5 05:01:59 server dhcpd: server.prospect.net: temporary name server failure
Mar 5 05:01:59 server dhcpd: DHCPOFFER on 10.53.0.158 to 00:00:00:00:00:10 via eth0
Mar 5 05:02:01 server /USR/SBIN/CRON[2602]: (root) CMD (if [ -x /usr/sbin/pg_maintenance ]; then /usr/sbin/pg_maintenance --analyze >/dev/null; fi)
Mar 5 05:02:02 server dhcpd: DHCPDISCOVER from 00:00:00:00:00:10 via eth0
Mar 5 05:02:02 server dhcpd: server.prospect.net: temporary name server failure
Mar 5 05:02:02 server dhcpd: server.prospect.net: temporary name server failure
Mar 5 05:02:02 server dhcpd: DHCPOFFER on 10.53.0.158 to 00:00:00:00:00:10 via eth0
Mar 5 05:02:10 server dhcpd: DHCPDISCOVER from 00:00:00:00:00:10 via eth0
Mar 5 05:02:10 server dhcpd: server.prospect.net: temporary name server failure
Mar 5 05:02:10 server dhcpd: server.prospect.net: temporary name server failure
Mar 5 05:02:10 server dhcpd: DHCPOFFER on 10.53.0.158 to 00:00:00:00:00:10 via eth0
Mar 5 05:01:59 server dhcpd: server.prospect.net: temporary name server failure
Mar 5 05:01:59 server dhcpd: server.prospect.net: temporary name server failure
Mar 5 05:01:59 server dhcpd: DHCPOFFER on 10.53.0.158 to 00:00:00:00:00:10 via eth0
Mar 5 05:02:01 server /USR/SBIN/CRON[2602]: (root) CMD (if [ -x /usr/sbin/pg_maintenance ]; then /usr/sbin/pg_maintenance --analyze >/dev/null; fi)
Mar 5 05:02:02 server dhcpd: DHCPDISCOVER from 00:00:00:00:00:10 via eth0
Mar 5 05:02:02 server dhcpd: server.prospect.net: temporary name server failure
Mar 5 05:02:02 server dhcpd: server.prospect.net: temporary name server failure
Mar 5 05:02:02 server dhcpd: DHCPOFFER on 10.53.0.158 to 00:00:00:00:00:10 via eth0
Mar 5 05:02:10 server dhcpd: DHCPDISCOVER from 00:00:00:00:00:10 via eth0
Mar 5 05:02:10 server dhcpd: server.prospect.net: temporary name server failure
Mar 5 05:02:10 server dhcpd: server.prospect.net: temporary name server failure
Mar 5 05:02:10 server dhcpd: DHCPOFFER on 10.53.0.158 to 00:00:00:00:00:10 via eth0
Mar 5 05:02:26 server dhcpd: server.prospect.net: temporary name server failure
Mar 5 05:02:26 server dhcpd: DHCPOFFER on 10.53.0.158 to 00:00:00:00:00:10 via eth0
Mar 5 05:03:03 server dhcpd: DHCPDISCOVER from 00:00:00:00:00:10 via eth0
Mar 5 05:03:03 server dhcpd: server.prospect.net: temporary name server failure
Mar 5 05:03:03 server dhcpd: server.prospect.net: temporary name server failure
Mar 5 05:03:03 server dhcpd: DHCPOFFER on 10.53.0.158 to 00:00:00:00:00:10 via eth0
Mar 5 05:03:03 server dhcpd: Both dynamic and static leases present for 10.53.0.158.
Mar 5 05:03:03 server dhcpd: Either remove host declaration D or remove 10.53.0.158
Mar 5 05:03:03 server dhcpd: from the dynamic address pool for 10.53.0.0
Mar 5 05:03:03 server dhcpd: DHCPREQUEST for 10.53.0.158 from 00:00:00:00:00:10 via eth0
Mar 5 05:03:03 server dhcpd: server.prospect.net: temporary name server failure
Mar 5 05:03:03 server dhcpd: server.prospect.net: temporary name server failure
Mar 5 05:03:03 server dhcpd: DHCPACK on 10.53.0.158 to 00:00:00:00:00:10 via eth0
Mar 5 05:03:06 server dhcpd: DHCPDISCOVER from 00:e0:4c:15:7e:d2 via eth0
Mar 5 05:03:06 server dhcpd: server.prospect.net: temporary name server failure
Mar 5 05:03:06 server dhcpd: DHCPDISCOVER from 00:e0:4c:15:7e:d2 via eth0
Mar 5 05:03:06 server dhcpd: already acking lease 10.53.0.152
Mar 5 05:03:07 server dhcpd: server.prospect.net: temporary name server failure
Mar 5 05:03:07 server dhcpd: DHCPOFFER on 10.53.0.152 to 00:e0:4c:15:7e:d2 via eth0
Mar 5 05:03:07 server dhcpd: DHCPINFORM from 10.53.0.158
Mar 5 05:03:09 server dhcpd: DHCPDISCOVER from 00:e0:4c:15:7e:d2 via eth0
Mar 5 05:03:09 server dhcpd: server.prospect.net: temporary name server failure
Mar 5 05:03:09 server dhcpd: server.prospect.net: temporary name server failure
Mar 5 05:03:09 server dhcpd: DHCPOFFER on 10.53.0.152 to 00:e0:4c:15:7e:d2 via eth0
Mar 5 05:03:10 server dhcpd: DHCPINFORM from 10.53.0.158
Mar 5 05:02:26 server dhcpd: DHCPOFFER on 10.53.0.158 to 00:00:00:00:00:10 via eth0
Mar 5 05:03:03 server dhcpd: DHCPDISCOVER from 00:00:00:00:00:10 via eth0
Mar 5 05:03:03 server dhcpd: server.prospect.net: temporary name server failure
Mar 5 05:03:03 server dhcpd: server.prospect.net: temporary name server failure
Mar 5 05:03:03 server dhcpd: DHCPOFFER on 10.53.0.158 to 00:00:00:00:00:10 via eth0
Mar 5 05:03:03 server dhcpd: Both dynamic and static leases present for 10.53.0.158.
Mar 5 05:03:03 server dhcpd: Either remove host declaration D or remove 10.53.0.158
Mar 5 05:03:03 server dhcpd: from the dynamic address pool for 10.53.0.0
Mar 5 05:03:03 server dhcpd: DHCPREQUEST for 10.53.0.158 from 00:00:00:00:00:10 via eth0
Mar 5 05:03:03 server dhcpd: server.prospect.net: temporary name server failure
Mar 5 05:03:03 server dhcpd: server.prospect.net: temporary name server failure
Mar 5 05:03:03 server dhcpd: DHCPACK on 10.53.0.158 to 00:00:00:00:00:10 via eth0
Mar 5 05:03:06 server dhcpd: DHCPDISCOVER from 00:e0:4c:15:7e:d2 via eth0
Mar 5 05:03:06 server dhcpd: server.prospect.net: temporary name server failure
Mar 5 05:03:06 server dhcpd: DHCPDISCOVER from 00:e0:4c:15:7e:d2 via eth0
Mar 5 05:03:06 server dhcpd: already acking lease 10.53.0.152
Mar 5 05:03:07 server dhcpd: server.prospect.net: temporary name server failure
Mar 5 05:03:07 server dhcpd: DHCPOFFER on 10.53.0.152 to 00:e0:4c:15:7e:d2 via eth0
Mar 5 05:03:07 server dhcpd: DHCPINFORM from 10.53.0.158
Mar 5 05:03:09 server dhcpd: DHCPDISCOVER from 00:e0:4c:15:7e:d2 via eth0
Mar 5 05:03:09 server dhcpd: server.prospect.net: temporary name server failure
Mar 5 05:03:09 server dhcpd: server.prospect.net: temporary name server failure
Mar 5 05:03:09 server dhcpd: DHCPOFFER on 10.53.0.152 to 00:e0:4c:15:7e:d2 via eth0
Mar 5 05:03:10 server dhcpd: DHCPINFORM from 10.53.0.158