Sponsored Content
Special Forums IP Networking Discussion at work, would a router work pluging a cable in wan1 and lan1? Post 302910153 by gjws on Tuesday 22nd of July 2014 07:58:58 PM
Old 07-22-2014
I guess the first question is why in the world would you connect a cable between the WAN and LAN port?

At a guess I would say yes, the DHCP Daemon would certainly respond to DHCP Discover requests coming from the LAN interface. The easiest thing to do would be spin up a virtual machine in VirtualBox, bridge together the WAN and LAN interfaces and watch what happens. No better substitute that real world experience Smilie
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Will this work?

I'm trying to check if files already exist in a directory. They have the same basename (exsyctr1), but 4 different extensions. If the files exist, then I make backups of them, then copy them from another directory ($livecomp/data) to the current one ($copycomp/data). If they don't exist, just... (5 Replies)
Discussion started by: Ypnos
5 Replies

2. UNIX for Advanced & Expert Users

how does this work???

can someone tell me the meaning of this commnad, If you want to see a grand total of CPU time for a program when it finishes running, you can use the time command. At the Unix prompt, enter: time java myprog Replace myprog with the name of the program you are running. The following is an... (1 Reply)
Discussion started by: ldpathak
1 Replies

3. UNIX for Dummies Questions & Answers

Script doesn't work, but commands inside work

Howdie everyone... I have a shell script RemoveFiles.sh Inside this file, it only has two commands as below: rm -f ../../reportToday/temp/* rm -f ../../report/* My problem is that when i execute this script, nothing happened. Files remained unremoved. I don't see any error message as it... (2 Replies)
Discussion started by: cheongww
2 Replies

4. UNIX for Dummies Questions & Answers

cant get this to work

whoami | grep < $1 | echo $1 trying to write a script that finds out who the user is and then takes occurences of that username from a file that is passed as an argument and then displays it (6 Replies)
Discussion started by: iago
6 Replies

5. Linux

How does it work?

Can anyone explain how Graphic LCD (CSTN / STN) work in Unix... From Graphic file thro driver code to display....? Thanks (1 Reply)
Discussion started by: nat123
1 Replies

6. Linux

Come and work for me! (UK)

********nothing too see here!!!****** (2 Replies)
Discussion started by: TonyChapman
2 Replies

7. UNIX for Dummies Questions & Answers

Remote Unix printing to my WinXP works with no router. How can I make it work through my router?

I set up remote printing on a clients Unix server to my Windows XP USB printer. My USB printer is connected directly to my PC (no print server and no network input on printer). With my Win XP PC connected to my cable modem (without the router), i can do lp -dhp842c /etc/hosts and it prints. I... (7 Replies)
Discussion started by: jmhohne
7 Replies

8. IP Networking

My router has UPnP, as do its work with ubuntu to automatically open ports

My router has UPnP,how to make it work with ubuntu to automatically open ports I try to open the following command " /sbin/iptables -I INPUT -d 0/0 -s 0/0 -p tcp --dport 21 -j ACCEPT" ,local only opens ,if i put the ip 192.168.1.68, it works correctly, if i`m put my external ip does not work,I... (9 Replies)
Discussion started by: dhalus
9 Replies

9. IP Networking

NIC will not work, but it did work.

I have a client machine that was built and loaded with SCO UNIX 2.1.3, (yes it is old). The machine worked fine on the closed network that I tested on in my shop. I then had to change it to the network that it would be connected to. Below is the host file, router and subnet mask file that I usually... (0 Replies)
Discussion started by: NC user
0 Replies

10. Shell Programming and Scripting

My script work on Linux but not work in sunos.

My script work on Linux but not work in sun os. my script. logFiles="sentLog1.log sentLog2.log" intial_time="0 0" logLocation="/usr/local/tomcat/logs/" sleepTime=600 failMessage=":: $(tput bold)Log not update$(tput rmso) = " successMessage="OK" arr=($logFiles)... (7 Replies)
Discussion started by: ooilinlove
7 Replies
natutil(8)						    BSD System Manager's Manual 						natutil(8)

NAME
natutil -- Query and configure supported Network Address Translation (NAT) devices SYNOPSIS
natutil [-vx] [-a auth] [-n name] {-1 | -d | -m | -s | -i | -L} natutil [-vx] [-a auth] [-n name] {-t | -u} {-T | -U} -p ports DESCRIPTION
natutil uses the ACP protocol to detect, configure, and extract status information from Internet gateway devices (IGDs) (such as AirPort Base Stations) on the local network. Since most IGDs provide Network Address Translation (NAT) service, they are often interchangably referred to as "NAT devices" or simply "NATs". The first synopsis line (with the exception of -L) returns various information from NAT devices. The second invocation modifies settings on the device. After modifying settings, AirPort Base Stations must be rebooted for the changes to take effect. ( servermgrd(8) also reboots the AirPort Base Station when it modifies port mappings.) OPTIONS
The following options / commands are available: -1 Only return data if the IGD found is also our current gateway. [AirPort only] Will only return if this base station can be autocon- figured -a auth [AirPort only] The authentication string to use when communicating with a device protected with a password other than the default "public". Used mostly for scripted operation. Use -i to get the authentication string interactively. -i Get the authentication string interactively. This preferred over -a for security reasons. -d Reports the IGDs (Internet Gateway Devices) that were found during the discovery. -m Retrieves the port mapping table from the NAT. -n name The prefix of the targeted NAT device's name (useful in a LAN with multiple NAT devices). -p ports A comma-separated list of the ports to tap or untap. Must be used with -t or -u. -s Retrieves the WAN & LAN status and configuration from the IGD. -t Configures the NAT to forward the given ports to this machine. Requires -p and either -T or -U. -u Removes the given ports from the NAT's port forwarding rules. Requires -p and either -T or -U. -v Verbose output. Provides progress and status information on standard output. -x XML output. This option provides the most information. -L [AirPort only] Convert existing DHCP lease into a static reservation so the host will receive the same IP address after each reboot. -T Ports will be tapped / untapped for the TCP protocol. Must be used with -t or -u. -U Ports will be tapped / untapped for the UDP protocol. Must be used with -t or -u. SEE ALSO
ifconfig(8), ipconfig(8) Mac OS X Server 10.5 July 23, 2007 Mac OS X Server 10.5
All times are GMT -4. The time now is 05:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy