It is listed in the output with the name "default" - you don't have one.
Here is the top few lines when I do it on one of my servers (IP addresses edited).
Since you don't have default listed, it is trying to route through your loopback address instead. I don't remember the exact path to set it, but try smitty tcpip, setting the default router should be within one of the items under that menu.
Last edited by rhfrommn; 10-20-2006 at 05:30 PM..
Reason: fixing missed characters in netstat output
I want to block ping on a linuxbox to any other address where it would go to the default gateway.
vmdebianamd64:/etc/tcng# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
198.9.200.0 * 255.255.255.0 U 0 ... (1 Reply)
hi,
I m trying to ping ip on the network . The machine is started but i can't access and can't ping it .. But when i restarts that machine that works fine..... can anybody have an idea about this problem ??
if then reply ..
thanks (2 Replies)
Hi All,
Need your help one more time.
I am trying to ping a linux machine which is not responding to ping.
However traceroute can reach the machine and I can log in to it by ssh. I have checked /proc/sys/net/ipv4/icmp_echo_ignore_all it is already set as "0".
It is not happening in the... (1 Reply)
I was wondering if it is possible to setup SFTP to go through the internet proxy while connecting to an internet location.
Problem: Client system is behind internet proxy. SFTP to any internet location fails as there is no documented way to configure SFTP to connect to internet locations through... (4 Replies)
Hi,
I have my router (192.168.1.1) connected to the internet.
I have installed Debian on a server with Bind9 (192.168.1.254).
The configurations files are :
$ cat /etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface... (1 Reply)
Hi,
I was trying to ping the source and destination i.ps
ping -i <source> <destination>
<destination> is alive
Now i would like to see the packets contiuosly. Please suggest what option can be used with ping command to see
For example if i give
PING 10.137.58.78: 56 data bytes
64... (3 Replies)
Hi,
I develop simple animation ping script on Solaris Platform. It is like Cisco ping.
Examples and source code are below.
bash-3.00$ gokcell 152.155.180.8 30
Sending 30 Ping Packets to 152.155.180.8
!!!!!!!!!!!!!.!!!!!!!!!!!!!!!.
% 93.33 success... % 6.66 packet loss...... (1 Reply)
I am unable to ping my remote server.My server is unable to ping the same. both are able to ping the gateway. both the ip's are on same network.i use a proxy tunnel on my remote server.Help if any clues. (6 Replies)
Hi
I am using perl to ping a list of nodes - with script below :
$p = Net::Ping->new("icmp");
if ($p->ping($host,1)){
print "$host is alive.\n";
}
else {
print "$host is unreacheable.\n";
}
$p->close();... (4 Replies)
help with bash script!
im am working on this script to make sure my server will stay online, so i made this script..
HOSTS="192.168.138.155"
COUNT=4
pingtest(){
for myhost in "$@"
do
ping -c "$COUNT" "$myhost" &&return 1
done
return 0
}
if pingtest $HOSTS
#100% failed... (4 Replies)
Discussion started by: mort3924
4 Replies
LEARN ABOUT OSX
internetsharing
InternetSharing(8) BSD System Manager's Manual InternetSharing(8)NAME
InternetSharing -- simple NAT/router configuration daemon
SYNOPSIS
InternetSharing -d
DESCRIPTION
InternetSharing is the back-end for the Internet Sharing feature. It is responsible for configuring the network interfaces, the DHCP server
bootpd(8), the network address translation daemon natd(8), and the Internet domain name server named(8). named(8) is run in caching-only
mode and allows the DHCP server to always offer the same DNS server address to the DHCP clients, regardless of the value of the actual DNS
server addresses.
The single command line option -d places additional debugging information to stdout/stderr.
InternetSharing is launched by launchd(8) both at start-up and when the user turns Internet Sharing on in the Sharing preferences pane.
By default, InternetSharing configures the IP addresses for non-AirPort interfaces starting at 192.168.2.1, walking up by one class C network
(subnet mask 255.255.255.0) for each subsequent interface i.e. 192.168.3.1, 192.168.4.1, 192.168.5.1, and so on. The AirPort interface by
default is assigned 10.0.2.1.
CONFIGURATION
InternetSharing reads the property list com.apple.nat.plist stored in the /Library/Preferences/SystemConfiguration.
Details of the com.apple.nat.plist are subject to change and are not completely documented here. The plist is a contract between the Sharing
preferences pane and InternetSharing. Any details provided here are for informational purposes only.
The plist is a dictionary with a single sub-dictionary called NAT containing properties to control which interfaces to use and other set-
tings. It may also have a sub-dictionary called AirPort that is used to configure the AirPort interface when it is put into access point
mode.
One property worth mentioning is SharingNetworkNumberStart. This property controls the behavior of InternetSharing when it configures IP
addresses for the local interfaces. The property is encoded as a string containing the dotted decimal network IP address, assumed to be a
class C network. For example:
<key>SharingNetworkNumberStart</key>
<string>192.168.100.0</string>
If the SharingNetworkNumberStart appears directly in the NAT dictionary, it controls the starting IP address chosen for the non-AirPort
interfaces. If the property appears within the AirPort sub-dictionary, it controls the IP address assigned to the AirPort interface.
The purpose of the property is to allow the user to avoid address collisions with existing NAT'd networks.
SEE ALSO bootpd(8), launchd(8), natd(8), named(8)Mac OS X Feburary 26, 2007 Mac OS X