:confused:
Hi:
I donīt know how to add route gateway and when restart the machine lose this route and put other.
In SCO ver 5.6 Enterprise write:
etc\route delete gateway
route add gateway 199.199.1.1.
so , netstat -rn to see if has change -> all ok
Restart -> !!!... (2 Replies)
Hello ,
We have 3 rs/6000 server's running aix on our local network, so each time I try to ping one of these servers we get a "network is down" error , I've been instructed to use to route add command which is ...
#route add server.ip router.ip
after this the ping command works fine ,... (6 Replies)
I have two networks connected by cisco routers. My first subnet is 192.168.0.0 and my second is 192.168.1.0.
My SCO unix machine is on the 192.168.1.0 subnet with an IP of 192.168.1.231. It can see the entire .1.0 subnet but nothing on the other network.
My cicso router(gateway) to the other... (6 Replies)
Hello all!
We have two fedora routers one at each site. What we are trying to do worked using freesco but not on fedora, i'm not very good at scripting and need a little guidence. Basicly what we are trying to do is if the primary line dies, the router will change it's routes to go through our... (0 Replies)
We are unable to bring one of our linux boxes into the network once it was restarted. But once we stop and start the network service. We are able to ping the gateway and get into network. After a minute or two we get the following reponse for the ping command
64 bytes from 124.168.215.40:... (6 Replies)
Hi,
I am trying to add route command in Solaris 10 machine in the following fashion:
route add -host 10.8.112.10 180.144.1.250 -interface lo0:1
this command fails with an error "lo0:1: bad value"
I want to add a route to 10.8.112.10 that picks 180.144.1.250 as the gateway via the... (3 Replies)
Just want to know if someone has a clue about what could be happening here:
I have an AIX box with four NICs in Ether channel connected to a Cisco Switch.
When I try to ping the default gateway, sometimes it works, but sometimes it doesn't work unless it has a defined static route.
Thanks... (1 Reply)
I have setup a Linux machine on my server but for some reason Im unable to reach my default gateway. This is causing me to not communicate with the outside world (unable to connect to CentOS repos)
# ifconfig
enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet... (3 Replies)
Hi all,
i have a rhel 6.2 with a default gateway.
This server is an Intranet office with no internet access.
DNS are already configured and it's possible to resolve my target.
My goal is to link my application (apache forward) only to http://mytarget.yyy through a new gateway (That does... (0 Replies)
Dear friends
I use RedHat 6.5, which sets the gateway in the configuration file / etc / sysconfig / network as GATEWAY = 192.168.1.26, and the gateway in the configuration file / etc / sysconfig / network-scripts / ifcfg-eth11 as GATEWAY = 192.168.1.256. The two gateways are different.... (6 Replies)
Discussion started by: tanpeng
6 Replies
LEARN ABOUT DEBIAN
subnetcalc
subnetcalc(8) BSD System Manager's Manual subnetcalc(8)NAME
subnetcalc -- IPv4/IPv6 Subnet Calculator
SYNOPSIS
subnetcalc [Address] [Netmask/Prefix] [-n] [-uniquelocal] [-uniquelocalhq]
DESCRIPTION
subnetcalc is an IPv4/IPv6 subnet address calculator. For given IPv4 or IPv6 address and netmask or prefix length, it calculates network
address, broadcast address, maximum number of hosts and host address range. Also, it prints the addresses in binary format for better under-
standability. Furthermore, it prints useful information on specific address types (e.g. type, scope, interface ID, etc.).
ARGUMENTS
The following arguments have to be provided:
Address
The IP address. If a hostname is provided here, it is tried to resolve the address by a DNS server and the first returned address is
used. Internationalized Domain Names (IDN) are supported.
Netmask/Prefix
The netmask or prefix length (0-32 for IPv4; 0-128 for IPv6).
-n Skip trying a reverse DNS lookup.
-uniquelocal
Given an IPv6 address, the first 48 bits of the address are replaced by a randomly chosen IPv6 Unique Local prefix in fc00::/7 (see
also RFC 4193). Under Linux, /dev/urandom is used for random number generation.
-uniquelocalhq
Like -uniquelocal, but using /dev/random instead on Linux systems for highest-quality random number generation. On other systems,
this option is equal to -uniquelocal. Note, that reading from /dev/random may take some time. You can speed up this process by deliv-
ering random input e.g. by pressing keys or moving the mouse.
EXAMPLES
subnetcalc 132.252.250.0 255.255.255.0
subnetcalc 132.252.250.0/255.255.255.0
subnetcalc 132.252.250.0 24
subnetcalc 132.252.250.0/24
subnetcalc fec0:2345:6789:1111:221:6aff:fe0b:2674 56
subnetcalc 2a00:1450:8007::69 64
subnetcalc ff08::1:2:3
subnetcalc 131.220.6.5/24
subnetcalc 132.252.181.87 -n
subnetcalc www.iem.uni-due.de 24
subnetcalc www.six.heise.de
subnetcalc fd00:: 64 -uniquelocal
subnetcalc fd00::9876:256:7bff:fe1b:3255 56 -uniquelocalhq
subnetcalc dusseldorf.de 28
subnetcalc www.koln.de
subnetcalc raksmorgas.josefsson.org 24
AUTHORS
Thomas Dreibholz
http://www.iem.uni-due.de/~dreibh/subnetcalc
mailto://dreibh@iem.uni-due.de
subnetcalc June 19, 2010 subnetcalc