ispcp_network is setting wrong mask and broadcast - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Development Area (/forum-1.html) +--- Forum: Tickets / Roadmap / Timeline (/forum-50.html) +--- Thread: ispcp_network is setting wrong mask and broadcast (/thread-8396.html) |
ispcp_network is setting wrong mask and broadcast - techie - 11-11-2009 07:35 AM I have 3 additional IPs and I added these IP address into control panel. When I start ispcp_network daemon, it sets netmask and broadcast like A class (Bcast:xxx.255.255.255 Mask:255.0.0.0) which I dont have. Code: ft:/etc/ispcp# ifconfig RE: ispcp_network is setting wrong mask and broadcast - techie - 11-30-2009 08:50 PM in /var/www/ispcp/engine/tools/ "ispcp-net-interfaces-mngr" file; I added my real netmask 255.255.255.0 in virtual_netcard_add() line 93: Code: if (defined($ip_card)){ and virtual_netcard_remove() function line 125 Code: my $ip_number = @$_[1]; It could be better that netmask also can be defined with alias ip adresses via control panel. RE: ispcp_network is setting wrong mask and broadcast - gOOvER - 11-30-2009 09:12 PM I think, for this is allready a Ticket open |