Hi sir,
i want to make such programe which takes MAC(Ethernet) address of any host & give me its IP address.......
but i'm nt getting that how i can pass the MAC address to Frame........
Please give me an idea for making such program...
Thanks & regards
Krishna (3 Replies)
hi,
for reading a cobol indexed file i need to convert "mmddyy" date format to "ccyyddd" format.
i checked the datecalc and other scripts but couldnt modify them to cater to my need:(...
The datecalc gives an output which i believe is the total days till that date, but i want to convert it... (2 Replies)
:) Hi
i am trying to convert a file which is in UTF8 format to ANSI format i tried to use the function ICONV but it is throwing error
Function i used it as
$ iconv -f UTF8 -t ANSI filename
Error iam getting is NOT Supported UTF8 to ANSI
please some help me out on this.........Let me... (1 Reply)
:confused: Hi
i am trying to convert a file which is in UTF8 format to ANSI format i tried to use the function ICONV but it is throwing error
Function i used it as
$ iconv -f UTF8 -t ANSI filename
Error iam getting is NOT Supported UTF8 to ANSI
please some help me out on... (9 Replies)
Hi
I have a file which has ascii , binary, binary decimal coded,decimal & hexadecimal data with lot of special characters (like öƒ.ƒ.„İİ¡Š·œƒ.„İİ¡Š· ) in it. I want to standardize the file into ASCII format & later use that as source .
Can any one suggest a way a logic to convert such... (5 Replies)
Hi All,
Is there any way to convert a file which is in UNIX format to a PC format....
Flip command can be used , apart form this command can we have any other way.... like usinf "awk" etc ..... main purpose of not using flip is that my Kshell doesnot support this comamnd.... (2 Replies)
Hi there
I lost connectivity to one of our remote systems and when I checked the messages log I found the following:
Aug 10 23:42:34 host xntpd: time reset (step) 1.681729 s
Aug 16 13:20:51 host ip: WARNING: node "mac address" is using our IP address x.x.x.x on aggr1
Aug 16 13:20:51 host... (9 Replies)
Hi Folks,
I have written a perl script that reads data from excel sheet(.xls) using Spreadsheet::ParseExcel module. But the problem is this module doesn't work for excel sheets with extension .xlsx.
I have gone through Spreadsheet::XLSX module with which we can read from .xlsx file directly.... (1 Reply)
four interfaces with ifconfig
all interfaces have the same mac. If is not set for unique.
but it still works.
what difference does it make to have all macs the same or different? (4 Replies)
Hy every body,
Unfortunately and without success, i want to write a bash script who maps a known IP addess to a known MAC address using iptables and for the FORWARD chain.
Within the DHCP server, i have assigned a fixed IP address to all clients based on their MAC addresses of their... (11 Replies)
Discussion started by: hermouche
11 Replies
LEARN ABOUT DEBIAN
vlan-interfaces
VLAN-INTERFACES(5) File formats VLAN-INTERFACES(5)NAME
/etc/network/interfaces (vlan) - vlan extensions for the interfaces(5) file format
DESCRIPTION
/etc/network/interfaces contains network interface configuration information for the ifup(8) and ifdown(8) commands. This manpage
describes the vlan extensions to the standard interfaces(5) file format.
Primary extensions exist to make and destroy vlan interfaces, secondary extensions exist for ipv4 interface manipulation which are gener-
ally needed when using (a lot of) vlans.
VLAN CREATION
Vlan interface definitions exist of the vlan interface name, and an optional 'raw-device' parameter. Vlan interfaces are numbered 1 to
4095. You have the option to have interface names zero-padded to 4 numbers, or just the plain digits without leading zero. The following
example shows four ways to create a vlan with id 1 on interface eth0. They all result in different names.
iface eth0.1 inet static
address 192.168.1.1
netmask 255.255.255.0
iface vlan1 inet static
vlan-raw-device eth0
address 192.168.1.1
netmask 255.255.255.0
iface eth0.0001 inet static
address 192.168.1.1
netmask 255.255.255.0
iface vlan0001 inet static
vlan-raw-device eth0
address 192.168.1.1
netmask 255.255.255.0
# We don't have br support out of the box
iface br0.2 inet static
vlan-raw-device br0
address 192.168.1.1
netmask 255.255.255.0
# Aliases are ignored
iface br0.2:1 inet static
address 192.168.1.1
netmask 255.255.255.255
EXTRA IFACE OPTIONS
Usually someone who uses vlans also wants to do some other manipulations with the ip stack or interface.
vlan-raw-device devicename
Indicates the device to create the vlan on. This is ignored when the devicename is part of the vlan interface name.
ip-proxy-arp 0|1
Turn proxy-arp off or on for this specific interface. This also works on plain ethernet like devices.
ip-rp-filter 0|1|2
Set the return path filter for this specific interface. This also works on plain ethernet like devices.
hw-mac-address mac-address
This sets the mac address of the interface before bringing it up. This works on any device that allows setting the hardware address
with the ip command.
AUTHOR
This manpage was adapted from interfaces(5) by Ard van Breemen <ard@kwaak.net>
SEE ALSO vconfig(8)interfaces(5)vlan September 30 2007 VLAN-INTERFACES(5)