01-12-2016
How do you supply the netmask? What be the desired output from above (10.10.224.4 or 10.10.227.68)?
10 More Discussions You Might Find Interesting
1. AIX
How to allocate memory for a shell script on aix box at the time of execution i.e at runtime
Are there any commands for AIX in specific
Thanks in Advance (1 Reply)
Discussion started by: aixjadoo
1 Replies
2. UNIX for Dummies Questions & Answers
How to allocate memory for a shell script on aix box at the time of execution i.e at runtime
Are there any commands for AIX in specific
Thanks in Advance (3 Replies)
Discussion started by: aixjadoo
3 Replies
3. UNIX for Advanced & Expert Users
How to allocate memory for a shell script on aix box at the time of execution i.e at runtime
Are there any commands for AIX in specific
Thanks in Advance (1 Reply)
Discussion started by: aixjadoo
1 Replies
4. Shell Programming and Scripting
Hi. I have a file with asterisk field separators and backslash line terminators. The first field in each line names the line type. I am trying to process each range separately. Here's what the data looks like:
BA*DATA\
LS*DATA1*DATA2*00020*\
TA*DATA1*DATA2*DATA3*\
TA*DATA1*DATA2*DATA3*\... (1 Reply)
Discussion started by: yoi2hot4ya
1 Replies
5. Shell Programming and Scripting
Hi
I'm a student who is studying system administration. I need to write a perl script to allocate disk quota to users. I'm using ubuntu and When I try to run edquota command in command line it says that Can't find file system with quota. pls help me. I tried to edit fstab. but didn't work.
... (1 Reply)
Discussion started by: piumali
1 Replies
6. Shell Programming and Scripting
Hi,
while running the perl script i am getting this error message ,
Day '' out of range 1..31 at rsty.sh line 44
what do iam missing in the script, any suggestion
#!/usr/bin/perl
use Time::Local;
my $wday = $ARGV;
my $month = $ARGV;
# convert the month shortname into 0-11 number
if... (4 Replies)
Discussion started by: saha
4 Replies
7. Programming
I am writing a mod perl 2 download module and I am facing the same issue as this guy.
mp2 / Apache byterange filter | ModPerl | ModPerl
If I remove the check for EOS in byterange_filter.c and recompile Apache2, the byte range filter is executed and the result is correct but I am not sure that... (0 Replies)
Discussion started by: metalbone
0 Replies
8. Programming
hi Experts
just wondering if you can help me check a number between a specific range
if i have an ip address , how can i say the valid number for ip between 1 to 254
something like this
if ($ip ) =~ /.../
{
}
what the pattern i need to type
thanks (3 Replies)
Discussion started by: doubando
3 Replies
9. Shell Programming and Scripting
Hello,
I'm trying to find an nice solution for the following:
1) I have ranges of numbers (begin-end): 10-15, 20-30, 45-50
2) I have begin limit=0 and end limit=60.
3) I need to find out number ranges between begin limit and end limit that do not overlap with the ranges in item1.
In this... (6 Replies)
Discussion started by: pn8830
6 Replies
10. Shell Programming and Scripting
Hi Guys,
Can someone please help me on adding/inserting a variable date to an sql scipt? Basically I want to assign a 7 days date range. As shown below..
#!/usr/bin/perl
use strict;
use Env qw(ORACLE_HOME);
my $SQLPLUS='/opt/oracle/product/10.1.0/db_1/bin/sqlplus -S... (1 Reply)
Discussion started by: pinpe
1 Replies
LEARN ABOUT DEBIAN
vde_l3
VDE_L3(1) General Commands Manual VDE_L3(1)
NAME
vde_l3 - Virtual Distributed Ethernet 'Layer 3' Switch.
SYNOPSIS
vde_l3 -v vde_plug:ipaddress/netmask [-v...] [-r target_network/netmask:gateway] [-G default_gw] [-M mgmt_socket]
DESCRIPTION
A vde_l3 connects to one or more vde_switches, performing ip forwarding among its virtual interfaces. A new interface is created at startup
for each -v option given at command line. Static routes to target networks can be defined using the -r option.
vde_l3 -v /var/run/s1.ctl:192.168.0.1/24
connects to the vde sock at /var/run/s1.ctl with its virtual interface ve0, having the address 192.168.0.1 and netmask 255.255.255.0.
vde_l3
-v /var/run/s1.ctl:192.168.0.1/24
-v /var/run/s2.ctl:10.0.0.254/255.255.0.0
connects to the two vde socks, with its virtual interfaces ve0 and ve1, having addressess 192.168.1.0 and 10.0.0.254 respectively. Hosts in
each network can specify the vde_l3 as their gateway to reach the other one.
OPTIONS
-v vde_plug:ipaddress/netmask
Creates a virtual network interfaces on the vde_l3 box, with address ipaddress and netmask netmask. Please note that the netmask can
be specified either in the 'classic' A.B.C.D mode, or just by giving the number of leading bits (f.e., /17 for 255.255.128.0). One
can define as many interfaces as she wants.
-r target_network/netmask:gateway
Specify a static route through gateway to reach hosts in target_network with netmask netmask. One can define as many routes as she
wants.
-G default_gw
Specify a default gateway, to be used whenever no static route is defined for a target host.
-M mgmt_socket
the unix socket where the parameters (interfaces addresses, routes, etc.) can be checked and changed runtime. unixterm(1) can be
used as a remote terminal for wirefilter.
NOTICE
Virtual Distributed Ethernet is not related in any way with www.vde.com ("Verband der Elektrotechnik, Elektronik und Informationstechnik"
i.e. the German "Association for Electrical, Electronic & Information Technologies").
SEE ALSO
vde_switch(1), vdeq(1), unixterm(1), vde_cryptcab(1), wirefilter(1).
AUTHORS
VDE_L3 is a tool by Daniele Lacamera <root@danielinux.net>
VDE is a project by Renzo Davoli <renzo@cs.unibo.it>
Virtual Distributed Ethernet May 7, 2007 VDE_L3(1)