Hi there,
I have a Debian 5.0 server newly installed.
By default, the ip address is given by dhcp.
Then I modify the files so that they look like this:
Then I try to apply changes with:
But at that point, I loose eth0:
And the only way to apply changes is to reboot the server.
Is this normal? How can I switch from dhcp to static address without rebooting?
Thanks for your help.
Santiago
Has anyone had an issue where:
If I telnet into a unix machine on my network, from within my natted address,
there is no speed issue.
When I telnet to the same machine using the static address, it is very very
slow.
This SCO 5.06. There is no nameserver running.
Please help. I have... (3 Replies)
Hello friend, I am new in UNIX, but I want to learn a lot
Well I have a problem to try to configure my PC with a static IP Address
(IP 192.168.1.39, Mask 255.255.255.0, gateway 192.168.1.1)
(DNS 200.48.225.130 and 200.48.225.146).
where are the file that I must be change?
The SO is Sun Solaris... (15 Replies)
Hi All
I am having a solaris 10 virtual machine on vista (using vmware 7) laptop.
Now i want to access virtual machine from vista using putty.
Problem is that i insalled the solaris machine as dhcp. and whenever i connect to internet or reboot my system the IP address of solaris... (1 Reply)
Hi all,
I have literally spent all day trying dozens of different combinations, re-installs and tweaks to try and resolve this problem. I would be EXTREMELY grateful if anyone can help/point me in the right direction.
I am using OpenBSD 4.6 and am trying to connect to my wireless network with... (1 Reply)
Hi All,
Could you please explain the purpose of assigning the static IP by using the DHCP Concept. Like by using the clients MAC address we assign the static IP Address. Waiting for your reply. Thanks in Advance. (6 Replies)
Hello,
Greetings!!
I have a server with 3 TB of disk space and 12 GB RAM and a i7 processor.
What I did thus far is to install Oracle Enterprise Linux (OEL 5.7)as the host system and install Oracle Virtual box and created 3 VM's. Installed OEL 5.7 on one of the VM, working on installing... (1 Reply)
Hi all,
I would need to register a random free subdomain address and associate that to my IP Address. Any suggestion of a good service?
Also I don't have a static IP but i remember that there are services that automatically reset the right IP address behind the subdomain but i don't remember... (1 Reply)
p { margin-bottom: 0.1in; line-height: 120%; }a:link { } Hello,
I'm have an interesting issue with some Raspberry Pi's which I have on my home network.
The pi's are on 192.168.1.102, 192.168.1.103, 192.168.1.104
Something very strange is happening on my network. The pi on 192.168.1.104 is... (2 Replies)
Hi All,
Am using centos 7 in my vmware workstatio with the bridged network. when run the ifconfig cmd its not at all showing the ip address and pls advise how to set static ip address in my linux box. (1 Reply)
Discussion started by: sarathkumar s
1 Replies
LEARN ABOUT DEBIAN
pydhcp
pydhcp(8) PYDHCPLIB pydhcp(8)NAME
pydhcp - a dhcp command line tool
USAGE
pydhcp --input <TYPE;OPTIONS;NAME> --output <TYPE;OPTIONS;NAME>
DESCRIPTION
pydhcp is a command line tool to read or write dhcp packet on network, and translate from raw data to human readable informations (and
vice-et-versa). pydhcp is a part of the pydhcplib python library.
Input and Output field description
pydhcp takes an input and an output argument. Input and output are described in the same way. For example :
pydhcp --input 'device;binary|up;eth0:68' --output 'file;readable;myfile.txt' -c 1
<TYPE> field
There is 5 types for the <TYPE> field. Only one type at once can be used : device, address, file, stdin and stdout. device tells pydhcp to
write or listen directly on the network interface and port. address is to write or listen on a specific Internet Address and port (like
192.168.1.1:67 ). file read or write data from or to a file. stdin read data from stdin, stdout write data on stdout.
<OPTIONS> field
You can use multiple options in the option field by separate them with a pipe |. There is 4 options for this field : readable, binary, up
and noup. readable id to read or write data in a human readable language : a packet definition language. This language is described later.
Binary form stand for reading or writing packets in the same binary form they are on the network : an UDP packet. readable and binary are
mutually exclusive. Option up tells pydhcp to set the network interface up if not. noup tells not to set up the interface. up and noup are
only useful in combination with the device type. Default is noup.
<NAME> field
Describe the name of the device (eth0:67,wlan0:client) , the address (192.168.1.1), or the filename (foo.txt). You can use a port number or
the keywords client and server for standard dhcp port.
Other command line options of pydhcp
Option -c : Number of packet to read or write. 0 for unlimited number of packet. Default is 0.
Known limitations
- Only one dhcp packet per file, then count is set to 1 for file I/O - No readable transfert on network (address or device). Binary only.
-c|--count
Number of packets to process.
EXAMPLES
Read a client packet on any address and write it on a human readable file :
pydhcp -i "address;binary;0.0.0.0:67" -o "file;readable;myfile.bin"
Read a binary dhcp packet from a file and print it on stdout in a human readable form :
pydhcp -i "file;binary;myfile.bin" -o "stdout;readable;"
SEE ALSO
pydhcplib
BUGS
Many...
AUTHOR
Mathieu Ignacio (mignacio[AT]april.org)
pydhcp(8)