Help for this page

Select Code to Download


  1. or download this
    use NetAddr::IP ();
    
    ...
    print("$net_addr\n");       # prints 192.168.1.0/29
    print("$net_broadcast\n");  # prints 192.168.1.7/29
    print("$net_newaddr\n");    # prints 192.168.1.8/29