xmaster pisze:
Witam
jak w temacie chce sobie przydzielić inne IP niż ma cała sieć
mam stare nnd
http://slacklist.olek.waw.pl/apcols/0577.html opis stąd nie działa
ciągle mam IP to samo czyli x.x.x.115 a chce zmienić na x.x.x.116
jak ??
#########################################
#
# PUBLICZNE ADRESY IP
#
#########################################
echo 1 >/proc/sys/net/ipv4/conf/all/proxy_arp
arp -i eth0 -Ds xx.xx.72.10 eth0 netmask 255.255.255.255
arp -i eth0 -Ds xx.xx.72.11 eth0 netmask 255.255.255.255
ip route add xx.xx.72.10 dev eth1
ip route add xx.xx.72.11 dev eth1
iptables -I FORWARD -s xx.xx.72.10 -j ACCEPT
iptables -I FORWARD -d xx.xx.72.10 -j ACCEPT
iptables -I FORWARD -s xx.xx.72.11 -j ACCEPT
iptables -I FORWARD -d xx.xx.72.11 -j ACCEPT
########### KONIEC ##################