Broadcast and dhcp Problem
Friends ,
1 )I found different site/forum to add IP in the following way : "ifconfig eth0 202.59.129.254 netmask 255.255.255.252 broadcast 202.59.129.255 up " with this command ? 2) In the "/etc/dhcpd.conf" file i find the following line : subnet 192.168.10.0 netmask 255.255.255.0 plz anyone can tell me , what is the meaning of this line ? If my server IP is "192.168.10.1" and Netmask "255.255.255.240" then what changes to make the above line ? Plz help ............ |
ifconfig eth0 netmask 255.255.255.240 192.168.10.2
for example EDIT:: with DHCP? edit /etc/network/interfaces man interfaces |
Broadcast and dhcp Problem
Dear baikonur,
Actually I want to know what is the benefit to add "Broadcast Address" with IP Like Following way : "ifconfig eth0 202.59.129.254 netmask 255.255.255.252 broadcast 202.59.129.255 up " 2) And In the "/etc/dhcpd.conf" file i find the following line (3rd Line): "subnet 192.168.10.0 netmask 255.255.255.0 " what represents this line in "dhcpd.conf" file ? And If My server Ip is 192.168.10.1 and Subnet is "255.255.255.240" then is any changes to make for the above line ? |
All times are GMT -5. The time now is 06:43 AM. |