06-25-2007
ifconfig shows the actual IP assigned to your interface. So if your router performs NAT, it is natural that you see private IPs on your system. As for the IP address at the router, normally a host in the network will not know about that address at all, because it will be replaced as part of NAT at the router.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Can someone please recommend a UNIX based utility (Not Web) to view a DBM file?
Michael (1 Reply)
Discussion started by: schafferm
1 Replies
2. UNIX for Dummies Questions & Answers
i'm responsible for maintenance at my place and would like to watch all terminals in front me.i log myself into one terminal, but would like to view
copy of other's terminals visible to me, it is just like for audit/security watch. (2 Replies)
Discussion started by: vkandati
2 Replies
3. UNIX for Dummies Questions & Answers
I use gv or ggv to view a .pdf, or .ps file.
What will allow me to see a jpeg file?
If it matters, I'm using xterm on a PowerBook G4. (0 Replies)
Discussion started by: dsstamps
0 Replies
4. UNIX for Dummies Questions & Answers
Hello,
I hope this is an easy question.
I have a few users who login through SSH and some times their bash session is using 100% cpu even though its been "idle" according to who for several days.
I would like to know what command the user ran in their bash session to peg the cpu out but am... (6 Replies)
Discussion started by: taheri6
6 Replies
5. HP-UX
In the hp-ux 11.31 environment . How can i view the values of below parameters:
socket_udp_rcvbuf_default
socket_udp_sndbuf_default
thanks! (1 Reply)
Discussion started by: robbiezr
1 Replies
6. Solaris
Hi Gurus,
How to view only a database files on solaris. Please do a reply at the earliest.
Thanks | P.Bharathiraja (2 Replies)
Discussion started by: bharathiraja
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
One of our users has loads of jobs scheduled. When I do at -l I get a long list of tasks which end in .a
Is there anyway I can view what these commands will do? Also, What's the relationship between the 'at' function and the crontab? I can't see any entries in crontab....Cheers (4 Replies)
Discussion started by: Grueben
4 Replies
8. What is on Your Mind?
See attached video for a demo on how to move back and forth from the desktop view to the mobile view.
Currently this only works for the home page, but I will work on some new PHP code in the future to make this work with the page we are currently on.
Edit: The issue with making every page ... (2 Replies)
Discussion started by: Neo
2 Replies
9. UNIX for Beginners Questions & Answers
How can I view a list of my posts.? (5 Replies)
Discussion started by: drew77
5 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